After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678761 - dia fails to link with GNU gold linker due to underlinking (missing gmodule)
dia fails to link with GNU gold linker due to underlinking (missing gmodule)
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: install
unspecified
Other Linux
: Normal normal
: 0.98
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-25 08:18 UTC by Michał Górny
Modified: 2013-07-21 15:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the issue (922 bytes, patch)
2012-06-25 08:18 UTC, Michał Górny
none Details | Review

Description Michał Górny 2012-06-25 08:18:15 UTC
dia uses gmodule for loading plugins yet misses explicitly specifying it in linked library list. This causes more strict GNU gold linker to fail:

  CCLD   dia
../lib/.libs/libdia.so: error: undefined reference to 'g_module_symbol'
../lib/.libs/libdia.so: error: undefined reference to 'g_module_open'
../lib/.libs/libdia.so: error: undefined reference to 'g_module_close'
../lib/.libs/libdia.so: error: undefined reference to 'g_module_error'
collect2: error: ld returned 1 exit status

I'm attaching a patch.
Comment 1 Michał Górny 2012-06-25 08:18:55 UTC
Created attachment 217169 [details] [review]
Patch fixing the issue
Comment 2 Hans Breuer 2013-07-21 15:36:38 UTC
Thanks, pushed to master:
https://git.gnome.org/browse/dia/commit/?id=da0a51ab36808fb515fde811b54a570e55b76923