-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf-persistentMap (Lunchbox) does not link; missing leveldb library in linker #498
Comments
adding the following option (link against libleveldb.so) works. Please fix the CMakeLists.txt. Thanks! |
Once that is fixed, the rest of the build works perfectly. |
Current git (Fri Nov 13 12:51:49 CET 2015) is still affected. |
Closing for now, as I cannot reproduce it after recloning. However, it may be hidden by bug |
Definitely closed, I compiled Equalizer successfully. |
Ubuntu 14.04.3.
Current Equalizer from today.
Running
cmake ..
make
Linking CXX executable perf-persistentMap
/usr/bin/ld: CMakeFiles/perf-persistentMap.dir/persistentMap.cpp.o: undefined reference to symbol '_ZNK7leveldb6Status8ToStringEv'
//usr/lib/x86_64-linux-gnu/libleveldb.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Lunchbox/tests/perf-persistentMap] Error 1
make[1]: *** [Lunchbox/tests/CMakeFiles/perf-persistentMap.dir/all] Error 2
make: *** [all] Error 2
Possibly due to a wrong order of the linked libraries, or a missing library, according to
http://stackoverflow.com/questions/19901934/strange-linking-error-dso-missing-from-command-line
The text was updated successfully, but these errors were encountered: