building from src, linking libpng

[email protected] Wed, 29 Jun 2011 21:53:37 +0000
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
I'm trying to build GraphicsMagick from src w/o X11 support, but with png support. The ./configure process tests for libpng library and headers (finds successfully), then does a link test trying to call png_get_io_ptr().

I've run nm(1) on libpng.so, and it says there -is- a png_get_io_ptr(), but the test is still failing:

[snip]
checking for PNG support ... 
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_io_ptr in -lpng... no
checking if PNG package is complete... no -- some components failed test
[snip]


Am looking into it, but through I'd pass the issue out to the broader
world as well, in case somebody beats me to answer.

-bch

-- 
Brad Harder
Method Logic Digital Consulting
http://methodlogic.net/
http://twitter.com/bcharder


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2