I am unable to duplicate this bug with the information you have
provided.
Do you happen to have a different version of GTK2 installed that you may
have built yourself, perhaps years ago? Unfortunately, this can conflict
badly and the system doesn't really alert you to this problem.
Please try running this:
ldd conftest | grep -i gtk
and paste the output as a comment here.
** Changed in: gtk+2.0 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2073940
Title:
Micro version mismatch between libgtk2.0-0 and libgtk2.0-dev
(2.24.33-2ubuntu2)
Status in gtk+2.0 package in Ubuntu:
Incomplete
Bug description:
Hi,
I detected a micro version mismatch between the development headers in
libgtk2.0-dev and the underlying library in libgtk2.0-0 in Ubuntu
22.04. This affects package version 2.24.33-2ubuntu2.
Package version info, pkg-config and the development headers claim
that the underlying library is version 2.24.33. However, it is
actually version 2.24.30.
Symptoms:
All configure scripts that use the M4 macro in /usr/share/aclocal/gtk-2.0.m4
(in libgtk2.0-dev) report a version mismatch in GTK. Code that depend on this
macro fails to compile.
Error:
*** GTK+ header files (version 2.24.33) do not match
*** library (version 2.24.30)
How to reproduce:
I have attached a simplified version of conftest.c originally found in
gtk-2.0.m4.
1) Use an Ubuntu 22.04.4 LTS system with libgtk2.0-dev and
dependencies installed (version 2.24.33-2ubuntu2).
2) Compile attached conftest.c with
gcc -o conftest -g -O2 -Wall -pthread -I/usr/include/gtk-2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz conftest.c -lgtk-x11-2.0 -lgdk-x11-2.0
-lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0
-lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz
2) Execute ./conftest and it will report the error above.
Additional info:
lsb_release -rd
Description: Ubuntu 22.04.4 LTS
Release: 22.04
apt-cache policy libgtk2.0-0
libgtk2.0-0:
Installed: 2.24.33-2ubuntu2
Candidate: 2.24.33-2ubuntu2
Version table:
*** 2.24.33-2ubuntu2 500
500 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
libgtk2.0-dev:
Installed: 2.24.33-2ubuntu2
Candidate: 2.24.33-2ubuntu2
Version table:
*** 2.24.33-2ubuntu2 500
500 http://ca.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
With best regards,
Markus
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/2073940/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp