Re: building from src, linking libpng
Bob Friesenhahn <[email protected]> Wed, 29 Jun 2011 17:54:43 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 29 Jun 2011, [email protected] wrote: > >> What version of libpng is being used? > > png-1.5.2 Ahhh. Sorry. :-) > 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? Yes, but there are other concerns. You can do ./configure LIBS=-lpng14 if the library would be matched like libpng14.so. However, you would also need the headers to match that library and you will have libpng 1.5 headers installed. This means that you would also need to install the libpng 1.4 headers. If they are installed, you could tell configure to use them by also adding something like. CPPFLAGS=-I/the/path/libpng-1.4 Are you able to (and willing to) substitute the development/snapshot version of the library instead? Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ 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