About libpthread

Mahmood Naderan nt_mahmood@yahoo.com
Thu May 28 19:33:23 GMT 2020


>Hmm, maybe try this instead?
>
>  -Wl,-rpath-link,/opt/glibc-2.23-install/lib

No. Got the same error

objs/ngx_modules.o \
-Wl,--emit-relocs -Wl,--dynamic-linker=/opt/glibc-2.23-install/lib/ld-2.23.so -ldl -Wl,-rpath-link,/opt/glibc-2.23-install/lib -lcrypt -lpcre -lz \
-Wl,-E
/usr/bin/ld: objs/src/core/ngx_shmtx.o: undefined reference to symbol 'sem_post@@GLIBC_2.2.5'
/opt/glibc-2.23-install/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
objs/Makefile:226: recipe for target 'objs/nginx' failed




Regards,
Mahmood 



More information about the Libc-help mailing list