-
Notifications
You must be signed in to change notification settings - Fork 294
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
libpthread.so.0: error adding symbols: DSO missing from command line #30
Comments
这问题还没人解决吗? |
I had resolved this question by the method of following: change the configure files mysql-sniffer/src/CMakeLists.txt TARGET_LINK_LIBRARIES(mysql-sniffer optimized TARGET_LINK_LIBRARIES(mysql-sniffer debug and then cmake and make |
@bollwarm Thanks |
@bollwarm It works! |
确实能解决问题,thanks |
/usr/bin/ld: /root/mysql-sniffer/lib/libgthread-2.0.a(gthread-impl.o): undefined reference to symbol 'pthread_setspecific@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
bin/CMakeFiles/mysql-sniffer.dir/build.make:224: recipe for target 'bin/mysql-sniffer' failed
make[2]: *** [bin/mysql-sniffer] Error 1
CMakeFiles/Makefile2:85: recipe for target 'bin/CMakeFiles/mysql-sniffer.dir/all' failed
make[1]: *** [bin/CMakeFiles/mysql-sniffer.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: