Bug #77392 [NEW]: ./configure fails on OpenSSL library searches

From: Date: Mon, 31 Dec 2018 22:11:20 +0000
Subject: Bug #77392 [NEW]: ./configure fails on OpenSSL library searches
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218713@lists.php.net to get a copy of this message
From: john dot iliffe at iliffe dot ca Operating system: Linux PHP version: 7.3.0 Package: *Configuration Issues Bug Type: Bug Bug description:./configure fails on OpenSSL library searches Description: ------------ This report contains elements of bug reports 72363 (PHP 7.0 and 7.1 and 75726 (PHP 7.1.12). Note the non-standard location of OpenSSL on my server. It appears that the with-openssl= configuration variable is not being picked up. ./configure prefix=/usr/php-7.3.0 --enable-fpm --with-fpm-user=phpfpm --with-libdir=lib64 --with-fpm-group=phpfpm --with-fpm-systemd --disable-short-tags --with-openssl=/usr/openssl-1.1.0i --with-pcre-regex --with-imap=/usr/lib64 --with-imap-ssl=/usr/openssl-1.1.0i/include/openssl --with-pgsql=/usr/postgres-9.6.2/bin --enable-zip --with-pear Fails with one of several errors: configure: error: Cannot find OpenSSL's libraries - can sometimes be resolved by changing to with-openssl=/usr/openssl-1.1.0i/lib but this leads to configure: error: Cannot find OpenSSL's <evp.h> - can resolve this by coding the FULL path to the include libraries: OPENSSL_INCDIR=/usr/openssl-1.1.0i/include/openssl in line 19052 and several other places where it occurs. Unfortunately, this messes up libs again. There is a typo in lines 3843 and 45626 of the configure file, "-qversion" should be "--version". It gives a configure fatal error when encountered but the configuration continues anyway, at least to the errors above. Test script: --------------- The ./configure shown in the previous section Expected result: ---------------- I would expect a valid make file for the compile step. -- Edit bug report at https://bugs.php.net/bug.php?id=77392&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77392&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77392&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77392&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77392&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77392&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77392&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77392&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77392&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77392&r=support Expected behavior: https://bugs.php.net/fix.php?id=77392&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77392&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77392&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77392&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77392&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77392&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77392&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77392&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77392&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77392&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77392&r=mysqlcfg

« previous php.bugs (#218713) next »