Bug #79112 [Opn]: IMAP extension can't find OpenSSL libraries at configure time

From: Date: Sat, 18 Jan 2020 03:54:22 +0000
Subject: Bug #79112 [Opn]: IMAP extension can't find OpenSSL libraries at configure time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224972@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79112&edit=1 ID: 79112 User updated by: php-bug-2020 at ryandesign dot com Reported by: php-bug-2020 at ryandesign dot com Summary: IMAP extension can't find OpenSSL libraries at configure time Status: Open Type: Bug Package: Compile Failure Operating System: macOS 10.13 PHP Version: 7.4.1 Block user comment: N Private report: N New Comment: Yes, thank you, that solves the problem. Previous Comments: ------------------------------------------------------------------------ [2020-01-17 10:27:14] nikic@php.net Would the patch at https://github.com/php/php-src/pull/5091 address the issue you're seeing? The actual openssl path would be taken from pkg-config, but I'm assuming you already have that set up appropriately. ------------------------------------------------------------------------ [2020-01-13 21:48:26] php-bug-2020 at ryandesign dot com 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 this bug report at https://bugs.php.net/bug.php?id=79112&edit=1

« previous php.bugs (#224972) next »