You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do:
git checkout SC14_demo
cd runtime
mkdir build
cd build
cmake .. -DUSE_B40C=1 -DCMAKE_CXX_COMPILER=mpicxx
I get the following error:
Linking CXX executable bonsai_driver
/usr/bin/ld: CMakeFiles/bonsai_driver.dir/src/driver.cpp.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
I can fix this by changing CMakeLists.txt to comment the following lines:
Activity
jbedorf commentedon Feb 25, 2015
I'm unable to reproduce this on my system, but what happens if you add:
target_link_libraries(bonsai_driver -ldl -lrt -pie -rdynamic)
near the bottom (line 330) of the CMakeLists.txt ?