Gentoo Archives: gentoo-devhelp

From: Mike Frysinger <vapier@g.o>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Re: How to modify makefile to link against libpng 1.2?
Date: Thu, 24 Mar 2011 22:01:26
Message-Id: AANLkTi=YVnpdZEiEXAFqiennPp1gDHBuJoaMPXsrf_fe@mail.gmail.com
In Reply to: [gentoo-devhelp] Re: How to modify makefile to link against libpng 1.2? by Nikos Chantziaras
1 On Thu, Mar 24, 2011 at 5:58 PM, Nikos Chantziaras wrote:
2 > On 03/24/2011 11:53 PM, Mike Frysinger wrote:
3 >> On Thu, Mar 24, 2011 at 5:30 PM, Nikos Chantziaras wrote:
4 >>> How should the link command look for it to link against libpng 1.2 rather
5 >>> than 1.4?  (I seem to have both installed.)
6 >>
7 >> you cant.  the libpng-1.2 ebuild in the tree only installs the library
8 >> that is needed by applications at runtime (libpng12.so.0).  it
9 >> provides no header files to compile against nor libraries to link
10 >> against.
11 >
12 > That sounds kinda sad :-P  Does that mean there's no way to build this app
13 > at all on Gentoo?
14
15 update the code to the libpng-1.4+ API and i imagine it'll build/link fine
16 -mike