Heads up: libpng bumped to 1.5.x in rawhide

Michael Schwendt mschwendt at gmail.com
Sat Nov 5 20:29:52 UTC 2011


On Sat, 05 Nov 2011 20:12:28 +0200, VS (Ville) wrote:

> On 11/05/2011 07:02 PM, Tom Lane wrote:
> > The list of packages that need to be rebuilt is attached.
> 
> I suggest maintainers take this opportunity to review whether all these
> packages really need to be linked against libpng - I'm positive that the
> list contains a lot of packages that don't. 

Well-spotted, but how to fix it?

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.

> -Wl,--as-needed in LDFLAGS
> (in addition to RPM_LD_FLAGS) is one easy way that can be applied in
> many cases to get rid of unnecessary linkage bloat.

Last time that has come up (long ago!) it didn't work for me.
Still doesn't. Example package: geeqie


More information about the devel mailing list