Building issues in Fedora Core 14: librt and libdl

• Oct 14, 2011 - 23:30
Type
Functional
Severity
S4 - Minor
Status
closed
Project

In FC14 librt and libdl must be explicitly linked to the main executable. You just need to add -lrt and -ldl somewhere. I ended up adding them to the link command in build/mscore/CMakeFiles/mscore.dir/link.txt, but I guess some fix is in order in CMakeLists.txt. I toyed briefly with CMake's target_link_libraries macro, but didn't get it right at the first two attempts so I thought I'd leave it to more knowledgeable people.

Cheers,

Luis


Comments