Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106446 (alt-libdl) - Linking to -ldl should never happen unconditionally
Summary: Linking to -ldl should never happen unconditionally
Status: RESOLVED LATER
Alias: alt-libdl
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All FreeBSD
: Highest major (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 17:18 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-12-01 08:36 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-18 17:18:26 UTC
The following ebuilds seems to link unconditionally to libdl (with -ldl). If 
they use autotools, it's better to use the AM_DL macro to check if -ldl is 
needed. If the link must be done from inside the ebuild, please use dlopen_lib 
function in portability eclass to replace the -ldl unconditional link. 
 
Thanks 
 
app-accessibility/powiedz/powiedz-1.0.ebuild: Somehow refers to libdl 
[accessibility, sound | spock@gentoo.org] 
dev-lang/lua/lua-5.0.2-r1.ebuild: Somehow refers to libdl [twp@gentoo.org] 
dev-lang/lua/lua-5.0.2.ebuild: Somehow refers to libdl [twp@gentoo.org] 
dev-lang/tolua/tolua-5.0.ebuild: Somehow refers to libdl [twp@gentoo.org] 
dev-lang/io-vm/io-vm-20030923.ebuild: Somehow refers to libdl 
dev-python/pyparted/pyparted-1.6.9-r1.ebuild: Somehow refers to libdl [livecd 
| allanonjl@gentoo.org] 
mail-mta/postfix/postfix-2.2.4.ebuild: Somehow refers to libdl [net-mail | 
langthang@gentoo.org] 
mail-mta/postfix/postfix-2.2.2-r1.ebuild: Somehow refers to libdl [net-mail | 
langthang@gentoo.org] 
net-fs/autofs/autofs-4.1.3-r4.ebuild: Somehow refers to libdl [net-fs | 
rphillips@gentoo.org, robbat2@gentoo.org] 
net-mail/poppassd_ceti/poppassd_ceti-1.8.5-r1.ebuild: Somehow refers to libdl 
[net-mail | cryos@gentoo.org] 
net-www/mod_auth_pam/mod_auth_pam-1.1.1-r1.ebuild: Somehow refers to libdl 
[apache | apache-devs@gentoo.org] 
Affected herds: net-mail, accessibility, livecd, apache, net-fs, sound 
Affected devs: apache-devs@gentoo.org, allanonjl@gentoo.org, spock@gentoo.org, 
cryos@gentoo.org, rphillips@gentoo.org, langthang@gentoo.org, 
robbat2@gentoo.org, twp@gentoo.org
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-09-19 03:10:33 UTC
app-accessibility/powiedz fixed.
Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-10-10 02:15:44 UTC
net-mail/poppassd_ceti-1.8.5-r1 fixed.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2005-10-10 19:25:19 UTC
mail-mta/postfix-2.2.5* fixed. I don't want to mess with stable ebuild.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-25 06:09:18 UTC
Please fix: 
 
dev-lang/lua/lua-5.0.2-r1.ebuild: Somehow refers to libdl [twp@gentoo.org] 
dev-lang/lua/lua-5.0.2.ebuild: Somehow refers to libdl [twp@gentoo.org] 
dev-lang/tolua/tolua-5.0.ebuild: Somehow refers to libdl [twp@gentoo.org] 
dev-python/pyparted/pyparted-1.6.9-r1.ebuild: Somehow refers to libdl [livecd 
| allanonjl@gentoo.org] 
net-fs/autofs/autofs-4.1.3-r4.ebuild: Somehow refers to libdl [net-fs | 
rphillips@gentoo.org, robbat2@gentoo.org] 
net-www/mod_auth_pam/mod_auth_pam-1.1.1-r1.ebuild: Somehow refers to libdl 
[apache | apache-bugs@gentoo.org] 
Affected herds: livecd, apache, net-fs 
Affected devs: allanonjl@gentoo.org, rphillips@gentoo.org, 
apache-bugs@gentoo.org, robbat2@gentoo.org, twp@gentoo.org 
 
Comment 5 Tom Payne (RETIRED) gentoo-dev 2005-10-31 10:16:26 UTC
dev-lang/lua/lua-5.0.2-r2 and dev-lang/tolua/tolua-5.0-r1 have been added to
portage with the calls to dlopen_lib. If there are no problems then I will
remove the older non-compatible ebuilds in a couple of weeks.
Comment 6 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-04-01 16:36:46 UTC
net-www/mod_auth_pam fixed.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-14 08:05:11 UTC
Removing livecd since John does all of pyparted...
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-30 19:25:24 UTC
I'll just do it piece by piece going on and on.
Comment 9 Tom Payne (RETIRED) gentoo-dev 2006-12-01 02:57:49 UTC
dev-lang/lua is now maintained by Matti Bickel.
Comment 10 Matti Bickel (RETIRED) gentoo-dev 2006-12-01 08:36:14 UTC
lua-5.0.2 && lua-5.1.1 updated, thanks Diego for the help