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 584307 - pkcs11/rpc-layer: don't assume libdl exists
pkcs11/rpc-layer: don't assume libdl exists
Status: RESOLVED FIXED
Product: gnome-keyring
Classification: Core
Component: general
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-05-30 16:39 UTC by David Adam
Modified: 2009-06-26 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Adam 2009-05-30 16:39:54 UTC
In the Makefile.am rules for gnome-keyring/pkcs11/rpc-layer/gck-rpc-daemon-standalone.c, it is assumed that the dlopen() and friends system calls require -ldl. On FreeBSD, these symbols are defined in libc, and there is no libdl.so.
Comment 1 Stef Walter 2009-06-26 15:14:35 UTC
Thanks for reporting that. I've added a check in configure.in which should fix the problem. Please reopen this bug if not. Fix will be included in gnome-keyring 2.26.3 and later.
Comment 2 David Adam 2009-06-26 15:58:48 UTC
See line 63 of gnome-keyring/pkcs11/rpc-layer/Makefile.am, where there's a hardcoded argument for -ldl.
Comment 3 Stef Walter 2009-06-26 16:26:46 UTC
Yup, fixed. That line now reads as below in the gnome-2-26 branch. Sorry for not being clear on that. Changes will be merged to HEAD soon.

	$(DL_LIBS) libgck-rpc-layer.la \