Bug #75725 [NEW]: ./configure: detecting RAND_egd

From: Date: Sat, 23 Dec 2017 13:18:02 +0000
Subject: Bug #75725 [NEW]: ./configure: detecting RAND_egd
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213259@lists.php.net to get a copy of this message
From:             dpa-bugs at aegee dot org
Operating system: 
PHP version:      7.1.12
Package:          *Compile Issues
Bug Type:         Bug
Bug description:./configure: detecting RAND_egd 

Description:
------------
ext/openssl/config0.m4 contains:

  AC_CHECK_FUNCS([RAND_egd])                                            
                                                                        
                            
  PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
[AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])], [AC_MSG_ERROR([OpenSSL check
failed. Please check config.log for more information.])])

meaning that ./configure first checks for RAND_egd and then adds
-lcrypto to LDFLAGS.  This cannot work in this order, as RAND_egd can
only be detected after -lcrypto is passed to the linker.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=75725&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=75725&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=75725&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=75725&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=75725&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=75725&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=75725&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=75725&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=75725&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=75725&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=75725&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=75725&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=75725&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=75725&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75725&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=75725&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=75725&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=75725&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75725&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=75725&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=75725&r=mysqlcfg



Thread (5 messages)

« previous php.bugs (#213259) next »