Heads up: libpng bumped to 1.5.x in rawhide

Michael Schwendt mschwendt at gmail.com
Sat Nov 5 21:20:07 UTC 2011


On Sat, 05 Nov 2011 22:02:42 +0100, KK (Kevin) wrote:

> > Lots of executables end up linked with libpng12 due to other libs (cairo,
> > gdk-pixbuf2) being linked with it. Neither -lpng12 or -lpng is added
> > explicitly.
> 
> Not due to them being LINKED with it, but due to them shipping .pc or .la 
> files (probably .pc, since we normally don't ship .la files in Fedora) which 
> add -lpng12 when you didn't ask for it.

No. If that were the case, -lpng12 would appear on the linker command-line.
It doesn't.

Also:
$ pkg-config --libs gdk-pixbuf-2.0
-pthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0  
$ grep png /usr/lib64/pkgconfig/gdk-pixbuf-2.0.pc 
Requires.private: gmodule-no-export-2.0 libpng12


More information about the devel mailing list