REIX, Tony
2017-08-24 09:57:42 UTC
Hi,
I have :
krb5-1.15.1/src-64/plugins/tls/k5tls :
/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/collect2 ...
-bgcbypass:1 -bfilelist -bM:SRE -bE:./k5tls.exports -bernotok -brtl -lkrb5 -lkrb5support -lssl -lcrypto -lc -lgcc_s -lc -lgcc_s
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
Makefile:690: recipe for target 'k5tls.so' failed
gmake[1]: Leaving directory '/opt/freeware/src/packages/BUILD/krb5-1.15.1/src-64/plugins/tls/k5tls'
An easy patch is to add the missing -lpthreads to TLS_IMPL_LIBS variable in Makefile.
-TLS_IMPL_LIBS = -lssl -lcrypto
+TLS_IMPL_LIBS = -lssl -lcrypto -lpthreads
Cordialement,
Tony Reix
Bull - ATOS
IBM Coop Architect & Technical Leader
Office : +33 (0) 4 76 29 72 67
1 rue de Provence - 38432 Échirolles - France
www.atos.net<http://www.atos.net/>
I have :
krb5-1.15.1/src-64/plugins/tls/k5tls :
/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/collect2 ...
-bgcbypass:1 -bfilelist -bM:SRE -bE:./k5tls.exports -bernotok -brtl -lkrb5 -lkrb5support -lssl -lcrypto -lc -lgcc_s -lc -lgcc_s
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
Makefile:690: recipe for target 'k5tls.so' failed
gmake[1]: Leaving directory '/opt/freeware/src/packages/BUILD/krb5-1.15.1/src-64/plugins/tls/k5tls'
An easy patch is to add the missing -lpthreads to TLS_IMPL_LIBS variable in Makefile.
-TLS_IMPL_LIBS = -lssl -lcrypto
+TLS_IMPL_LIBS = -lssl -lcrypto -lpthreads
Cordialement,
Tony Reix
Bull - ATOS
IBM Coop Architect & Technical Leader
Office : +33 (0) 4 76 29 72 67
1 rue de Provence - 38432 Échirolles - France
www.atos.net<http://www.atos.net/>