GNOME Bugzilla – Bug 776892
gdk-pixbuf 2.36.3: wrong libtool version
Last modified: 2018-05-22 13:22:04 UTC
Hi, After updating gdk-pixbuf to 2.36.3 in Homebrew, we saw a couple of failing tests like this: /usr/local/Cellar/gwyddion/2.47_1/bin/gwyddion --version dyld: Library not loaded: /usr/local/opt/gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib Referenced from: /usr/local/Cellar/gwyddion/2.47_1/bin/gwyddion Reason: Incompatible library version: gwyddion requires version 3602.0.0 or later, but libgdk_pixbuf-2.0.0.dylib provides version 3601.0.0 A little digging into configure.ac revealed this change in 9e87fc089b90a52fd1c2a26769c94dcd843f6a29 -m4_define([gdk_pixbuf_micro_version], [2]) -m4_define([gdk_pixbuf_interface_age], [0]) +m4_define([gdk_pixbuf_micro_version], [3]) +m4_define([gdk_pixbuf_interface_age], [3]) I think the problem here was the change in gdk_pixbuf_interface_age, which I don't think was justified since bug fix releases don't add API, and which led to the observed problem as lt_current depends on gdk_pixbuf_interface_age. Thanks for looking into this. Tom
I noted this in MacPorts too: https://trac.macports.org/ticket/53334 I'm not familiar with gdk-pixbuf's code or build system, but I would appreciate a fix in the next release that solves this problem by causing the library version number to be larger than the one that was shipped in 2.36.2.
This is not mac-specific, definitely happening on linux too. CCing mclasen (I assume you get these anyway but ... just in case). Documenting the versions as I understand them: version | libtool version 2.36.0 | 0.3600.0 2.36.1 | 0.3601.0 2.36.2 | 0.3602.0 2.36.3 | 0.3600.3 2.36.4 | 0.3600.4 The original mistake happened in the first two updates to 2.36 (interface_age should have been bumped). But 2.36.3 shouldn't fix the earlier mistakes like that, right? I'd add a patch except I'm not sure what the cleanest fix here is...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/61.