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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php