MantisBT - Doomseeker
View Issue Details
0000202Doomseeker[All Projects] Bugpublic2010-11-20 03:372018-09-29 14:49
achtung 
Blzut3 
normalblockalways
closedfixed 
x86_64Fedora14
 
0.8 Beta 
0000202: Doomseeker 0.7 fails to compile.
Attempting to compile Doomseeker results in the following error:


Linking CXX executable ../doomseeker
/usr/bin/ld: CMakeFiles/doomseeker.dir/sdeapi/pluginloader.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [doomseeker] Error 1
make[1]: *** [src/CMakeFiles/doomseeker.dir/all] Error 2
make: *** [all] Error 2
Attempt to compile doomseeker 0.7b on Fedora 14 x86_64.
No tags attached.
Issue History
2010-11-20 03:37achtungNew Issue
2010-11-20 14:49ZalewaAssigned To => Blzut3
2010-11-20 14:49ZalewaStatusnew => assigned
2010-11-22 19:58Blzut3Note Added: 0000629
2010-11-23 04:25achtungNote Added: 0000630
2010-11-25 05:37Blzut3Note Added: 0000633
2010-11-25 05:37Blzut3Statusassigned => resolved
2010-11-25 05:37Blzut3Fixed in Version => 0.8 Beta
2010-11-25 05:37Blzut3Resolutionopen => fixed
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug
2018-09-29 14:49WubTheCaptainStatusresolved => closed

Notes
(0000629)
Blzut3   
2010-11-22 19:58   
I think a temporary solution until I get around to looking into the proper way to fix this would be to change the following line in src/CMakeLists.txt:

target_link_libraries(doomseeker ${QT_LIBRARIES} ${QT_QTNETWORK_LIBRARIES} wadseeker)

to

target_link_libraries(doomseeker ${QT_LIBRARIES} ${QT_QTNETWORK_LIBRARIES} wadseeker dl)
(0000630)
achtung   
2010-11-23 04:25   
It successfully compiled.

Thank you.
(0000633)
Blzut3   
2010-11-25 05:37   
Should be fixed in r583.