FS#18034 - GTK+ and other packages are built against libpng12.so.0 which is too specific

Attached to Project: Arch Linux
Opened by Thomas (fruktfrukt) - Wednesday, 27 January 2010, 13:14 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 27 January 2010, 13:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

GTK+ is probably the most prominent example, but many other packages have this issue too. GTK+ and other packages having libpng as a (direct or indirect) dependency build against libpng12.so.0, even though proclaiming to require libpng >= 1.2.x. Which means that upgrading libpng to, say, 1.4, will break the system. It seems to me that binary packages should generally not be built against a specific version of any library. For confirmation, do e.g.:

/usr/lib$ strings /usr/lib/libgtk-x11-2.0.so | fgrep libpng
libpng12.so.0
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 27 January 2010, 13:37 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Try to understand sonames and you'll find out this is not a bug.
Comment by Pierre Schmitz (Pierre) - Wednesday, 27 January 2010, 13:33 GMT
Do you think so names are for fun? Hint: libpng12 and lbpng14 are not compatible. If they had the same so name we'll probably have funny results.

Loading...