Just as a warning - I don't think anyone is maintaining nsgd, and there are probably several things about it that are out-of-date or broken. (Bug #751262 on SF for example.)
I'm not sure what version/options you are using with gd, but according to http://www.boutell.com/gd/manual2.0.15.html you only need libXpm if you want Xpm color bitmap loading support. I suspect you can remove the dependency during the gd configure step - I know it isn't being used in the Win32 version of nsgd. :-)
Have you tried -lXpm ?
Jamie
Donald F. Evans wrote:
In a message dated 7/10/2003 11:05:43 AM Eastern Daylight Time, [EMAIL PROTECTED] writes:
On Thursday 10 July 2003 16:58, you wrote: >failed to load nsgd.so: libgd.so undefined symbol: png_get_rowbytes
Link against libpng.so perhaps? Or, do you have libpng installed in /usr/lib (/usr/local/lib) ?
Zoran
Linking to png helped but now I have a new error: undefined symbol: XpmReadFileToXmpImage
Here is the code from the nsgd Makefile:
#MODLIBS = -lgd -ljpeg MODLIBS = -lgd
I modified it to be: #MODLIBS = -lgd -ljpeg #MODLIBS = -lgd MODLIBS = -lz -lpng -ljpeg -lgd
Now why wasn't -lpng in the orginal distribution? But more importantly, what library am I missing now.
I have freetype, gd, jpeg, libpng, and zlib all compiled and ready.
*/Donald F. Evans/**//* Quality Management Engineer Testing & Analysis, The [EMAIL PROTECTED] - [EMAIL PROTECTED] (703 265-5952 7703 608-8892
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
