[php-maint] Debian PHP5 source package - static openssl patch has no effect since PHP5.3

Lior Kaplan kaplan at debian.org
Sun Apr 26 12:07:23 UTC 2015


It seems we can remove the patch, as since 2011 -lcrypto is indeed added
later in acinclude.m4.

See upstream commit a286fa3523b230fded3204d8b09381675f70d85c

Kaplan

On Sat, Apr 25, 2015 at 3:54 PM, Declercq Laurent <l.declercq at nuxwin.com>
wrote:

> Hello ;
>
> First, I'm sorry to send you this mail directly.
>
> 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)
>
> 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).
>
> Cheer ;)
>
> --
> Laurent Declercq
> iHMS/i-MSCP Project Lead
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20150426/ea53c71e/attachment.html>


More information about the pkg-php-maint mailing list