"Helmut K. C. Tessarek" in php.internals (Tue, 22 Oct 2019 22:33:39 -0400):
>Eureka!
>
>After a few more hours of trial and error I managed to get it working.
>
>However, the `-lpthread` in OPENSSL_LIBS is ignored. I checked the config.log,
> but it wasn't added to the linker command. But adding it to LIBS solved the
>issue.
>
>This is the command that finally worked:
>
>./configure [snip] --with-openssl=/usr/local/ssl-1.1.1 [snip]
>CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib LIBS="-lpthread"
>OPENSSL_LIBS="-L/usr/local/ssl-1.1.1/lib -l:libssl.a -l:libcrypto.a -ldl
>-lpthread" OPENSSL_CFLAGS="-I/usr/local/ssl-1.1.1/include"

That is more or less the same answer I posted 13 hours earlier
https://news-web.php.net/php.internals/107628

Too bad it did not bave seemed to reach the mailinglist and/or
https://externals.io/message/103582

Frustrating that https://news-web.php.net/php.internals is not in sync with
the mailinglist and/or https://externals.io/

BTW: should not that be '-pthread' in stead of '-lpthread'? It was stripped
from OPENSSL_LIBS as found by Nikita:
https://news-web.php.net/php.internals/107543
-- 
Jan

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to