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 536744 - Must link to libdl if dladdr() is used
Must link to libdl if dladdr() is used
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal blocker
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-05 06:21 UTC by Sebastian Dröge (slomo)
Modified: 2008-06-05 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
link-dl.diff (645 bytes, patch)
2008-06-05 06:22 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2008-06-05 06:21:39 UTC
Hi,
current pre-release fails to build when --as-needed is used and dladdr() is available. This is caused by AC_CHECK_LIB not appending -ldl to LIBS.

Attached patch fixes this, no idea why it worked before :)
Comment 1 Sebastian Dröge (slomo) 2008-06-05 06:22:03 UTC
Created attachment 112189 [details] [review]
link-dl.diff
Comment 2 Sebastian Dröge (slomo) 2008-06-05 10:12:45 UTC
2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>

        * configure.ac:
        Explicitely link with -ldl if dladdr() is found there. Before it was
        implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
        -ldl has moved from Libs to Libs.private. Fixes bug #536744.