Solaris 8 Compilation Problems
Nathan Coraor
nate at cse.psu.edu
Tue Oct 8 05:12:33 CEST 2002
"Jackson Sie" said:
>
> Nathan,
>
> You don't say the source of your jpeg, libpng and gd libs. I ran into
> the same problem when I first tried using the libs from sunfreeware.
> Are you using these? Once I retrieved the source for gd and built it
> myself, then everything works just dandy. Apparently the pre-built
> libgd.a available from sunfreeware is old enough to not work correctly
> with the jpeg and libpng from the same source... Odd I know, but that's
> the info I have.
Ahh,
I typically compile software myself unless I'm in a hurry. In this
case, it's because I didn't have the current gd (I was using 1.8.3,
current is 1.8.4) that it died.
Thanks for the help.
--nate
>
> Good luck,
> Jackson Sie
> Senior Architect
> Quadrix Solutions, Inc.
>
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nathan
> Coraor
> Sent: Monday, October 07, 2002 4:50 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Solaris 8 Compilation Problems
>
>
> >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 _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list