Skip to content
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

append libpthread.so.0 to file CMakeLists.txt #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wonderfuer
Copy link

without libpthread.so.0,it will throw error when executing make:

/bin/ld: /home/xxx/mysql-sniffer/lib/libgthread-2.0.a(gthread-impl.o): undefined reference to symbol 'pthread_join@@GLIBC_2.2.5'
//usr/lib64/libpthread.so.0: 无法添加符号: DSO missing from command line
collect2: 错误:ld 返回 1
make[2]: *** [bin/CMakeFiles/mysql-sniffer.dir/build.make:159:bin/mysql-sniffer] 错误 1
make[1]: *** [CMakeFiles/Makefile2:86:bin/CMakeFiles/mysql-sniffer.dir/all] 错误 2
make: *** [Makefile:84:all] 错误 2

without libpthread.so.0,it will throw error when executing make:

/bin/ld: /home/xxx/mysql-sniffer/lib/libgthread-2.0.a(gthread-impl.o): undefined reference to symbol 'pthread_join@@GLIBC_2.2.5'
//usr/lib64/libpthread.so.0: 无法添加符号: DSO missing from command line
collect2: 错误:ld 返回 1
make[2]: *** [bin/CMakeFiles/mysql-sniffer.dir/build.make:159:bin/mysql-sniffer] 错误 1
make[1]: *** [CMakeFiles/Makefile2:86:bin/CMakeFiles/mysql-sniffer.dir/all] 错误 2
make: *** [Makefile:84:all] 错误 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant