Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472138 - media-sound/audacious-3.1 media-plugins/audacious-plugins-3.1 - ld: pluginenum.o: undefined reference to symbol 'g_module_symbol'
Summary: media-sound/audacious-3.1 media-plugins/audacious-plugins-3.1 - ld: pluginenu...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-06-02 20:05 UTC by Sebastian Pipping
Modified: 2017-11-05 11:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Link error quick fix (audacious-3.1-gmodule-link.patch,370 bytes, patch)
2013-06-02 20:08 UTC, Sebastian Pipping
Details | Diff
Same for media-plugins/audacious-plugins-3.1 (audacious-plugins-3.1-gmodule-link.patch,667 bytes, patch)
2013-06-02 20:24 UTC, Sebastian Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2013-06-02 20:05:00 UTC
=================================================================
[..]
Entering directory audacious.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: pluginenum.o: undefined reference to symbol 'g_module_symbol'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'g_module_symbol' is defined in DSO /usr/lib64/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib64/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Failed to link audacious!
[..]
=================================================================

The quickest way to fix this might be to turn

  GLIB_LIBS ?= @GLIB_LIBS@

into

  GLIB_LIBS ?= @GLIB_LIBS@ -lgmodule-2.0

in extra.mk.in .  That is what worked for me.
Comment 1 Sebastian Pipping gentoo-dev 2013-06-02 20:08:01 UTC
Created attachment 349932 [details, diff]
Link error quick fix
Comment 2 Sebastian Pipping gentoo-dev 2013-06-02 20:24:30 UTC
Created attachment 349934 [details, diff]
Same for media-plugins/audacious-plugins-3.1
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-23 14:47:33 UTC
Comment on attachment 349932 [details, diff]
Link error quick fix

You would want to use `pkg-config --libs glib-2.0 gmodule-2.0' for that.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2014-07-31 21:46:26 UTC
Is this still occurring for 3.5.1 please?
Comment 5 David Seifert gentoo-dev 2017-11-05 11:21:59 UTC
Long removed from tree, reopen if it reoccurs.