brummer10/guitarix

Fix for Ubuntu 20.04 complaining about "dlclose@@GLIBC_2.2.5"

gitterdude opened this issue · 0 comments

Ubuntu 20.04 is still supported for a few more months so if anyone still using that wants to compile guitarix-0.46, here's a patch you'll need :

--- build/c4che/_cache.py~	2024-11-29 23:03:00.000000000 +0100
+++ build/c4che/_cache.py	2024-11-29 23:28:43.376051047 +0100
@@ -130,7 +130,7 @@
 LIB_GMODULE_EXPORT = ['gmodule-2.0', 'glib-2.0']
 LIB_GTHREAD = ['gthread-2.0', 'glib-2.0']
 LIB_GTK2 = ['gtk-3', 'gdk-3', 'pangocairo-1.0', 'pango-1.0', 'harfbuzz', 'atk-1.0', 'cairo-gobject', 'cairo', 'gdk_pixbuf-2.0', 'gio-2.0', 'gobject-2.0', 'glib-2.0']
-LIB_GTKMM = ['gtkmm-3.0', 'atkmm-1.6', 'gdkmm-3.0', 'giomm-2.4', 'pangomm-1.4', 'glibmm-2.4', 'gtk-3', 'gdk-3', 'pangocairo-1.0', 'pango-1.0', 'harfbuzz', 'atk-1.0', 'cairo-gobject', 'gio-2.0', 'cairomm-1.0', 'cairo', 'sigc-2.0', 'gdk_pixbuf-2.0', 'gobject-2.0', 'glib-2.0']
+LIB_GTKMM = ['dl', 'gtkmm-3.0', 'atkmm-1.6', 'gdkmm-3.0', 'giomm-2.4', 'pangomm-1.4', 'glibmm-2.4', 'gtk-3', 'gdk-3', 'pangocairo-1.0', 'pango-1.0', 'harfbuzz', 'atk-1.0', 'cairo-gobject', 'gio-2.0', 'cairomm-1.0', 'cairo', 'sigc-2.0', 'gdk_pixbuf-2.0', 'gobject-2.0', 'glib-2.0']
 LIB_JACK = ['jack']
 LIB_LIBLO = ['lo', 'pthread']
 LIB_LILV = ['lilv-0']

Save the above to dl-fix.patch in the "guitarix" source folder and run patch -p0 < ../dl-fix.patch after ./waf configure in "trunk"

There's probably a proper way of handling this but it's a simple, quick fix that works.