facebook / facebook/folly

compile test error on ubuntu17

Open
#849 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

cmake -DBUILD_TESTS=ON ..
make
and meet the following error:

/usr/bin/ld: /usr/local/lib/libgmock_main.a(gtest-all.cc.o): undefined reference to symbol 'pthread_key_delete@@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
CMakeFiles/bits_test_2.dir/build.make:130: recipe for target 'bits_test_2' failed
make[2]: *** [bits_test_2] Error 1
CMakeFiles/Makefile2:4318: recipe for target 'CMakeFiles/bits_test_2.dir/all' failed
make[1]: *** [CMakeFiles/bits_test_2.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.