Re: configure bug with static openssl 1.1.1?
| From: | Helmut K. C. Tessarek | Date: | Thu, 13 Dec 2018 17:39:50 +0000 |
| Subject: | Re: configure bug with static openssl 1.1.1? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103606@lists.php.net to get a copy of this message | ||
On 2018-12-13 17:52, Rainer Jung wrote:
>
> I might be wrong, but I vaguely remember that PHp does not call
> "pkg-config --static --libs openssl" with a correctly setup
> PKG_CONFIG_PAATZ to get the libs needed for static compilation.
> Typically OpenSSL installs correct pc files that contain pthread as such
> a dependency. Without asking pkg-config some fixed decisin logic would
> need to find all the needed libs.
Thanks for the reply.
I've opened a bug: https://bugs.php.net/bug.php?id=77288
Yep, the following entry is in the .pc file for libcrypto:
Libs.private: -ldl -pthread
Cheers,
K. C.