<div dir="ltr">Yes, you are right. openssl binary is linking to a wrong shared library. <div><br></div><div>The code is fine, it's linking to the static library. </div><div><br></div><div>thanks. </div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br>Siyuan<br>---<br></div></div>
<br><div class="gmail_quote">On Mon, Jun 5, 2017 at 3:40 PM, Viktor Dukhovni <span dir="ltr"><<a href="mailto:openssl-users@dukhovni.org" target="_blank">openssl-users@dukhovni.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jun 01, 2017 at 10:16:01AM -0700, Siyuan Xiang wrote:<br>
<br>
><br>
> ./config enable-weak-ssl-ciphers --prefix=/opt<br>
<br>
Does this set a suitable RPATH?<br>
<br>
> make<br>
> make DESTDIR=/path/to/dir INSTALL<br>
<br>
And now install in yet another place?<br>
<span class=""><br>
> $ ./openssl version<br>
> OpenSSL 1.1.0e  16 Feb 2017<br>
<br>
</span>The resulting code is likelky using the wrong shared libraries.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
        Viktor.<br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
</div></div></blockquote></div><br></div>