Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473240

Summary: the version mismatched libs in emul-linux-x86-* may cause the issue
Product: Gentoo Linux Reporter: Razor <razormeister>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Razor 2013-06-14 03:13:12 UTC
By accident, I found many messages just like "libpng warning: Application built with libpng-1.6.2 but running with 1.5.13" flooded the terminal, when I use wine to run an app (which does not work correctly).

The relevant environment:

1, ~amd64 is accepted
2, wine-1.6_rc1 built with main USEs: png -abi_x86_64 abi_x86_32
3, libpng (0/16) 1.6.2, (1.5) 1.5.16 are merged, and the libpng header files symlinked to the headers of libpng 1.6.2
4, emul-linux-x86-baselibs 20130224 (which includes libpng 1.2.50, 1.5.13-r1, and 1.5.13-r1 for lib32 pkgconfig) is merged

Then, the components using libpng in wine (with 32bit built) will use 1.6.2 header files at compile-time and link to the 1.5.13-r1 lib at link-time. When it runs, the version 1.6.2 (specified by macro in header file) will be passed as arguments to libpng 1.5.13-r1. The warning messages mentioned above will be outputted.

After made v1.6.2 libpng-x86 (so and pkgconfig file) manually, and remerged wine, the problem is fixed.

Just guess zlib could have the same problem.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-14 14:55:42 UTC

*** This bug has been marked as a duplicate of bug 472962 ***