In message <1457369381041-64385.p...@n7.nabble.com> on Mon, 7 Mar 2016 09:49:41 
-0700 (MST), danigrosu <dni.gr...@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         levi...@openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to