<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000099">
    On 07/03/2016 17:56, Richard Levitte wrote:<br>
    <blockquote
      cite="mid:20160307.185630.29267628196195539.levitte@openssl.org"
      type="cite">
      <pre wrap="">In message <a class="moz-txt-link-rfc2396E" href="mailto:1457369381041-64385.post@n7.nabble.com"><1457369381041-64385.post@n7.nabble.com></a> on Mon, 7 Mar 2016 09:49:41 -0700 (MST), danigrosu <a class="moz-txt-link-rfc2396E" href="mailto:dni.grosu@gmail.com"><dni.grosu@gmail.com></a> 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.
</pre>
    </blockquote>
    <br>
    In the spirit of teaching to fish, this could have been discovered
    by looking at the makefiles which build the engine. Those aren't
    always easy to decipher, so an alternative would have been just to
    build that OpenSSL release and look at all the output lines from the
    build which mention eng_rsax.<br>
    <pre class="moz-signature" cols="72">-- 
J. J. Farrell
</pre>
  </body>
</html>