[openssl-users] openssl-1.1.1-pre6 requires -lrt for final link on Solaris 10 for clock_gettime

Dennis Clarke dclarke at blastwave.org
Sun May 27 18:58:21 UTC 2018


Minor issue with link here on Solaris 10 sparc :

.
.
.
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: 
symbol PBE2PARAM_it: relocation bound to a symbol with STV_PROTECTED 
visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: 
symbol PBKDF2PARAM_it: relocation bound to a symbol with STV_PROTECTED 
visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: 
symbol SCRYPT_PARAMS_it: relocation bound to a symbol with STV_PROTECTED 
visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: 
symbol PBEPARAM_it: relocation bound to a symbol with STV_PROTECTED 
visibility
Undefined                       first referenced
  symbol                             in file
clock_gettime                       ./libcrypto.so
ld: fatal: symbol referencing errors. No output written to apps/openssl
gmake[1]: *** [Makefile:2245: apps/openssl] Error 2
gmake[1]: Leaving directory 
'/usr/local/build/openssl-1.1.1-pre6_sparcv9.001'
gmake: *** [Makefile:169: all] Error 2
$

So looks like -lrt is needed here.

Dennis



More information about the openssl-users mailing list