-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
[TEMP. FIX] undefined reference to `pthread_atfork' #3884
Copy link
Copy link
Closed
Milestone
Description
Hi. I'm trying to build Nginx with this script, but I get this error.
objs/addon/src/ngx_http_brotli_filter_module.o \
objs/ngx_modules.o \
-ldl -lpthread -lpthread -lcrypt -lm ../pcre-8.41/.libs/libpcre.a ../openssl/.openssl/lib/libssl.a ../openssl/.openssl/lib/libcrypto.a -ldl ../libatomic_ops-7.6.0/src/libatomic_ops.a \
-Wl,-E
../openssl/.openssl/lib/libcrypto.a(threads_pthread.o): In function `openssl_init_fork_handlers':
threads_pthread.c:(.text+0x1ba): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
make[1]: *** [objs/Makefile:309: objs/nginx] Error 1
I was able to build two weeks ago, so this issue must be new.
[EDIT] See the temporary fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels