Re: building from src, linking libpng
[email protected] Wed, 29 Jun 2011 22:43:21 +0000
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 29, 2011 at 05:17:49PM -0500, Bob Friesenhahn wrote: > On Wed, 29 Jun 2011, [email protected] wrote: > >> >> 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: > > What type of system are you using? NetBSD martin 5.1 NetBSD 5.1 (GENERIC) #0: Mon Jun 6 06:26:11 PDT 2011 root@:/usr/obj/sys/arch/amd64/compile/GENERIC amd64 > What version of libpng is being used? png-1.5.2 > What version of GraphicsMagick are you building? 1.3.12 > Please note that libpng 1.5 has a modified API. Only the > development/snapshot version of GraphicsMagick builds with libpng 1.5. > > Sometimes it helps to inspect the config.log file to see what error > message was produced by the compiler when the configure test failed. > Often the error message can be quite helpful to understand the failure. Thanks -- I'm typically not an auto* debugger -- looking, and I have a clue -- lib is installed as libpng15.so, so linking with -lpng fails. Tested, confirmed. Can I pass alternate name for this lib to ./configure? > Bob > -- > Bob Friesenhahn > [email protected], http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ -- 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