[openssl-dev] Errors when loading an OpenSSL RSA Engine
Richard Levitte
levitte at openssl.org
Mon Mar 7 17:56:30 UTC 2016
In message <1457369381041-64385.post at n7.nabble.com> on Mon, 7 Mar 2016 09:49:41 -0700 (MST), danigrosu <dni.grosu at gmail.com> said:
dni.grosu> I want to build an OpenSSL RSA engine, starting from this existing
dni.grosu> source code file
dni.grosu> which is a faster method implemented by Intel. First of all I want to
dni.grosu> build this code so I'm using these commands:
dni.grosu>
dni.grosu> gcc -fPIC -m64 -o eng_rsax.o -c eng_rsax.c
dni.grosu> gcc -shared -o eng_rsax.so -lcrypto eng_rsax.o
You might want to try this:
gcc -shared -o eng_rsax.so eng_rsax.o -lcrypto
When linking, order is important.
--
Richard Levitte levitte at openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
More information about the openssl-dev
mailing list