<div dir="ltr"><div><div>It seems we can remove the patch, as since 2011 -lcrypto is indeed added later in acinclude.m4.<br><br></div>See upstream commit a286fa3523b230fded3204d8b09381675f70d85c<br><br></div>Kaplan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 25, 2015 at 3:54 PM, Declercq Laurent <span dir="ltr"><<a href="mailto:l.declercq@nuxwin.com" target="_blank">l.declercq@nuxwin.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello ;<br>
<br>
First, I'm sorry to send you this mail directly.<br>
<br>
It seem that the patch that force static openssl in PHP5 source package has no effect . I'm not an expert but I presumes that this patch should force linking to libssl.so only ( which is linked itself to libcrypto.so ). In the patch, I see that you prevent linking of libcrypto but in PHP versions newest than PHP 5.2, the acincludel.m4 file add this link more later with PHP_ADD_LIBRARY(crypto,,$1)<br>
<br>
This statement was not present in PHP 5.2 and this worked like a charm but since PHP5.3, -lcrypto is always passed to gcc and without it, the build fail due to undefined symbol (even if this is wrong).<br>
<br>
Cheer ;)<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Laurent Declercq<br>
iHMS/i-MSCP Project Lead<br>
</font></span></blockquote></div><br></div>