ID:               46521
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jd at cpanel dot net
-Status:           Open
+Status:           Closed
 Bug Type:         *Compile Issues
 Operating System: Linux
 PHP Version:      5.2.7RC3
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Thanks!


Previous Comments:
------------------------------------------------------------------------

[2008-11-07 20:07:06] jd at cpanel dot net

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 this bug report at http://bugs.php.net/?id=46521&edit=1

Reply via email to