#46521 [NEW]: Curl ZTS OpenSSL, error in config.m4 fragment
| From: | jd at cpanel dot net | Date: | Fri, 07 Nov 2008 20:07:06 +0000 |
| Subject: | #46521 [NEW]: Curl ZTS OpenSSL, error in config.m4 fragment | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-130770@lists.php.net to get a copy of this message | ||
From: jd at cpanel dot net
Operating system: Linux
PHP version: 5.2.7RC3
PHP Bug Type: *Compile Issues
Bug description: Curl ZTS OpenSSL, error in config.m4 fragment
Description:
------------
etc/curl/config.m4 uses AC_CHECK_HEADER to look for openssl/crypto.h then
defines HAVE_CURL_OPENSSL.
ext/curl/interface.c expects HAVE_OPENSSL_CRYPTO_H to be defined, but that
would only be the case if AC_CHECK_HEADERS was used in the config.m4
fragment instead of AC_CHECK_HEADER.
Reproduce code:
---------------
Compile with ZTS and Curl linked to OpenSSL.
Expected result:
----------------
Compile without errors.
Actual result:
--------------
/bin/sh /home/cpeasyapache/src/php-5.2.6/libtool --silent
--preserve-dup-deps --mode=compile
/home/cpeasyapache/src/php-5.2.6/meta_ccld -Iext/curl/
-I/home/cpeasyapache/src/php-5.2.6/ext/curl/ -DPHP_ATOM_INC
-I/home/cpeasyapache/src/php-5.2.6/include
-I/home/cpeasyapache/src/php-5.2.6/main -I/home/cpeasyapache/src/php-5.2.6
-I/opt/xml2/include/libxml2 -I/opt/curlssl//include
-I/home/cpeasyapache/src/php-5.2.6/ext/date/lib
-I/opt/php_with_imap_client//include -I/usr/kerberos/include
-I/usr/include/mysql -I/home/cpeasyapache/src/php-5.
2.6/TSRM -I/home/cpeasyapache/src/php-5.2.6/Zend -D_REENTRANT
-I/usr/kerberos/include -pthread -DZTS -c
/home/cpeasyapache/src/php-5.2.6/ext/curl/interface.c -o
ext/curl/interface.lo/home/cpeasyapache/src/php-5.2.6/ext/curl/interface.c:58:6:
warning: #warning "libcurl was compiled with OpenSSL support, but configure
could not find " "openssl/crypto.h; thus no SSL crypto locking callbacks
will be set, which may " "cause random crashes on SSL requests"
--
Edit bug report at http://bugs.php.net/?id=46521&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46521&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46521&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46521&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46521&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46521&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46521&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46521&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46521&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46521&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46521&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46521&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46521&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46521&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46521&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46521&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46521&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46521&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46521&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46521&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46521&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46521&r=mysqlcfg