Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154148

Summary: libccgnu2 of commoncpp2 should link to libdl
Product: Gentoo Linux Reporter: Timothy Redaelli (RETIRED) <drizzt>
Component: New packagesAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: files/ccgnu2-as-needed.diff

Description Timothy Redaelli (RETIRED) gentoo-dev 2006-11-05 08:56:32 UTC
TYPE   NEEDED FILE
ET_DYN librt.so.1,libstdc++.so.6,libm.so.6,libc.so.6,libgcc_s.so.1 /usr/lib/libccgnu2.so

but it uses dl functions
drizzt@archer ~ $ objdump -d /usr/lib/libccgnu2.so | egrep 'dl(sym|open|error|close)'
00013b84 <dlerror@plt>:
000142e4 <dlclose@plt>:
00014834 <dlopen@plt>:
00014a74 <dlsym@plt>:

I attach a (trivial) patch to fix it
Comment 1 Timothy Redaelli (RETIRED) gentoo-dev 2006-11-05 09:00:01 UTC
Created attachment 101281 [details, diff]
files/ccgnu2-as-needed.diff
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-05 09:19:10 UTC
*** Bug 154146 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-05 09:19:19 UTC
*** Bug 154147 has been marked as a duplicate of this bug. ***
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2006-11-05 11:21:29 UTC
Fixed in v1.5.1-r1 (no rev.bump). Thanks for reporting and the patch!