Solaris 8 Compilation Problems

Nathan Coraor nate at cse.psu.edu
Mon Oct 7 22:49:48 CEST 2002


>From browsing the archives, it would appear that this question has come
up before.  However, the solution seems to be an LD_LIBRARY_PATH
problem which I don't think exists in this case:

I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in /usr/local/lib and jpeg
binaries in /usr/local/bin.

The source I'm trying to compile is 1.0b6.

The error is below:

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statusmap.c getcgi.o cgiutils.o auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o ../xdata/xedtemplate.c -o statusmap.cgi
Undefined                       first referenced
 symbol                             in file
gdImageCreateFromJpeg               /var/tmp/cctdBsNf.o
ld: fatal: Symbol referencing errors. No output written to statusmap.cgi
collect2: ld returned 1 exit status

#printenv LD_LIBRARY_PATH
/usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWspro/lib:/usr/lib:/usr/ucblib

Any thoughts on this are appreciated.

Thanks in advance,
--nate


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list