Re: building from src, linking libpng
[email protected] Wed, 29 Jun 2011 23:27:32 +0000
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 29, 2011 at 05:54:43PM -0500, Bob Friesenhahn wrote: > 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? Should I just pull from head of mercurial, or are there occasional beta snapshots I can grab? > 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