Bug #79112 [NEW]: IMAP extension can't find OpenSSL libraries at configure time
| From: | php-bug-2020 at ryandesign dot com | Date: | Mon, 13 Jan 2020 21:48:26 +0000 |
| Subject: | Bug #79112 [NEW]: IMAP extension can't find OpenSSL libraries at configure time | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-224890@lists.php.net to get a copy of this message | ||
From: php-bug-2020 at ryandesign dot com
Operating system: macOS 10.13
PHP version: 7.4.1
Package: Compile Failure
Bug Type: Bug
Bug description:IMAP extension can't find OpenSSL libraries at configure time
Description:
------------
Hi, I'm the maintainer of PHP in MacPorts, finally working on getting
PHP 7.4 into our collection.
We phpize each bundled module to build it separately from the PHP core.
The IMAP module fails to configure:
configure: error: OpenSSL libraries not found.
Check the path given to --with-openssl-dir and output in
config.log)
This did not happen with PHP 7.3 or earlier.
We are supplying these configure flags:
--with-imap=${prefix} \
--with-imap-ssl=${prefix} \
--with-kerberos=${prefix}
The --with-openssl-dir flag suggested by the error message is not
supported by this configure script, and adding it does not change the
error.
Note also the closing parenthesis in the error message without a
matching opening parenthesis.
The workaround appears to be to set PHP_OPENSSL=yes in the environment,
but we shouldn't have to do that. This workaround was suggested here:
https://github.com/docker-library/php/issues/891
--
Edit bug report at https://bugs.php.net/bug.php?id=79112&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79112&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79112&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79112&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79112&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79112&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79112&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79112&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79112&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79112&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79112&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79112&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79112&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79112&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79112&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79112&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79112&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79112&r=mysqlcfg