FS#8460 - cppunit not linked with libdl / Undefined reference to dlsym/dlopen/dlclose

Attached to Project: Community Packages
Opened by Mildred (mildred) - Tuesday, 30 October 2007, 18:10 GMT
Last edited by DaNiMoTh (DaNiMoTh) - Thursday, 03 April 2008, 14:28 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Jeff Mickey (codemac)
DaNiMoTh (DaNiMoTh)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It seems that when I want to link an executable with libcppunit, it fails because it can't find the symbols dlopen, dlclose, dlsym in cppunit.so

Could you fix that or tell me f I'm wrong.

Thanks.
Mildred
This task depends upon

Closed by  DaNiMoTh (DaNiMoTh)
Thursday, 03 April 2008, 14:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  Upgraded to .12.1. If you still have this bug, request reopen. Thanks
Comment by Will Dietz (dtzWill) - Sunday, 10 February 2008, 06:50 GMT
Try adding "-ldl" to your flags (link against libdl). Not sure if this is normally required to link with cppunit, but did the trick for me. (slackware).

~Will

Loading...