对‘pthread_atfork’未定义的引用 #43
Labels
bug
Something isn't working
good first issue
Good for newcomers
question
Further information is requested
开启了ssl、HTTP2后执行/usr/local/tars/cpp/script/cmake_tars_server.sh [App] [Server] [Servant],会有下面报错:
[ 25%] Built target tars-HelloServer
[ 50%] Linking CXX executable ../bin/HelloServer
/usr/local/tars/cpp/thirdparty/lib/libcrypto.a(threads_pthread.o):在函数‘fork_once_func’中:
threads_pthread.c:(.text+0x16):对‘pthread_atfork’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [bin/HelloServer] 错误 1
make[1]: *** [src/CMakeFiles/HelloServer.dir/all] 错误 2
make: *** [all] 错误 2
The text was updated successfully, but these errors were encountered: