Toolmaster/GSharp
Go to AVS Home Page
 Recent Releases
AVS/Express 7.3 Released
OpenViz 2.9 Released
Toolmaster 7.5.3 Released
AVS 5.7 Released
 Contact Support
 Licensing
Information on licensing AVS 
products
 
Interact with the AVS Developer 
community. Takes you out of 
the support web site

 


Field Technical Bulletin 191


FTB NO:    FTB191
DATE: 3rd March 1998
SUBJECT: Error in unigen GsharpWE

PROBLEM DESCRIPTION

If you relink the GsharpWE using unigen GsharpWE then GsharpWE is rebuilt using dynamic libraries. It must be built with static libraries so that it can run without LD_LIBRARY_PATH being set.

N.B. You only need to relink GsharpWE if you are installing new patches or linking in some code to access a database.

CORRECTIVE ACTION

Edit the GsharpWE entry at the bottom of $UNIDIR/bin/Makefile so that is looks like this:

GsharpWE: $(UNIDIR)/lib/Gserver.o $(UNIDIR)/lib/CGIParse.o $(GWE_LIBS) $(AGX_LIBS) $(TIFF_LIBS) $(JPEG_LIBS) $(PNG_LIBS) $(Z_LIBS)
        @rm -f $(UNIDIR)/bin/$@
        @make -f $(MAKEFILE) PROGRAM=$(UNIDIR)/bin/$@ \
                "APP_LIBS=$(STATIC_LDFLAG) -lgsh $(ORALIBS) $(MSG_LIBS)" \
                "EXTRA_LIBS=$(STATIC_LDFLAG) -ltiff -ljpeg -lpng -lz" \
                "OBJS=$(UNIDIR)/lib/Gserver.o $(UNIDIR)/lib/CGIParse.o"

N.B. IRIX 5.3 will always link to a dynamic library if it exists. The only solution is to temporarily rename the static libraries whilst linking GsharpWE.