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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Dennis Clarke-2

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

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users