-
Notifications
You must be signed in to change notification settings - Fork 82
对‘pthread_atfork’未定义的引用 #43
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested
Description
开启了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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested