Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

ddb_lyricbar_gtk3.so: undefined symbol #22

Open
TheLastZombie opened this issue Jan 17, 2021 · 3 comments
Open

ddb_lyricbar_gtk3.so: undefined symbol #22

TheLastZombie opened this issue Jan 17, 2021 · 3 comments

Comments

@TheLastZombie
Copy link

TheLastZombie commented Jan 17, 2021

Ubuntu version: 20.10, 21.04 and 21.10
DeaDBeeF version: 1.8.4, 1.8.7 and 1.8.8
Lyricbar version: 015379a

After compiling and installing, the GTK2 version loads without errors, but the GTK3 version fails to:

loading plugin /home/eric/.local/lib/deadbeef/ddb_lyricbar_gtk2.so
loading plugin /home/eric/.local/lib/deadbeef/ddb_lyricbar_gtk3.so
dlopen error: /home/eric/.local/lib/deadbeef/ddb_lyricbar_gtk3.so: undefined symbol: _ZN3Gtk10TextBuffer16insert_with_tagsERKNS_8TextIterERKN4Glib7ustringERKNS4_11ArrayHandleINS4_6RefPtrINS_7TextTagEEENS4_17Container_Helpers10TypeTraitsISB_EEEE
trying /home/eric/.local/lib/deadbeef/ddb_lyricbar_gtk3.fallback.so...
plugin ddb_lyricbar_gtk3.so not found or failed to load
@mihawk90
Copy link

Getting the same here :/

loading plugin /usr/lib64/deadbeef/ddb_lyricbar_gtk2.so
loading plugin /usr/lib64/deadbeef/ddb_lyricbar_gtk3.so
dlopen error: /usr/lib64/deadbeef/ddb_lyricbar_gtk3.so: undefined symbol: _ZN3Gtk10TextBuffer16insert_with_tagsERKNS_8TextIterERKN4Glib7ustringERKNS4_11ArrayHandleINS4_6RefPtrINS_7TextTagEEENS4_17Container_Helpers10TypeTraitsISB_EEEE
trying /usr/lib64/deadbeef/ddb_lyricbar_gtk3.fallback.so...
plugin ddb_lyricbar_gtk3.so not found or failed to load

Strangely enough, I have a very old .so laying around that I compiled almost 2 years ago, and on that one the GTK2 version gets me that error while the GTK3 works?

loading plugin /home/tarulia/.local/lib/deadbeef/ddb_lyricbar_gtk2.so
dlopen error: /home/tarulia/.local/lib/deadbeef/ddb_lyricbar_gtk2.so: undefined symbol: _ZN3Gtk10TextBuffer16insert_with_tagsERKNS_8TextIterERKN4Glib7ustringERKSt6vectorINS4_6RefPtrINS_7TextTagEEESaISB_EE
trying /home/tarulia/.local/lib/deadbeef/ddb_lyricbar_gtk2.fallback.so...
plugin ddb_lyricbar_gtk2.so not found or failed to load

Thought that maybe only one of the versions was allowed to be present at a time, but after removing all but one of them, they still don't load so.. I don't know.

@loskutov
Copy link
Owner

Unfortunately, the simplistic Makefile doesn't play well with building both gtk2 and gtk3 versions. Try make clean && make gtk2.

@mihawk90
Copy link

Ah well, that works, would be nice in the readme too though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants