Can't link a static library with custom OpenSSL rsa engine

Heberlein, Kurt William kurt.w.heberlein at hpe.com
Tue Nov 17 21:02:02 UTC 2020


You might try changing this:


8.     gcc -shared -o librsa_engine.so libdune/libdune.a -lcrypto rsa-engine.o rsa/rsa.o rsa/bignum.o rsa/aes.o rsa/x509parse.o rsa/pem.o
to this:
               gcc –shared –o librsa_engine.so –L./libdune rsa_engine.o rsa/rsa.o rsa/bignum.o rsa/aes.o rsa/x509parse.o rsa/pem.o –Wl,-Bstatic –llibdune –Wl,-Bdynamic –lcrypto

just a guess.  cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20201117/22ec046f/attachment-0001.html>


More information about the openssl-users mailing list