#33338 [NEW]: OpenSSL error during compilation

From: Date: Tue, 14 Jun 2005 13:18:00 +0000
Subject: #33338 [NEW]: OpenSSL error during compilation
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80308@lists.php.net to get a copy of this message
From:             wim at godden dot net
Operating system: Redhat Linux
PHP version:      5.0.4
PHP Bug Type:     Compile Failure
Bug description:  OpenSSL error during compilation

Description:
------------
This may look like a duplicate for bug #22305, but in fact, all solutions
posted there have not produced any results.

Configuration :
PHP 5.0.4
OpenSSL 0.9.7g
Apache 1.3.31

Installed latest OpenSSL, removed all previous versions (libraries and
headers and even the whole /usr/local/ssl), installed 0.9.7g, added it to
/etc/ld.so.conf
OpenSSL is detected correctly, but make results in :

ext/openssl/openssl.lo(.text+0xd83): In function `zm_startup_openssl':
/root/install/php-5.0.4/ext/openssl/openssl.c:589: undefined reference to
`OPENSSL_add_all_algorithms_noconf'
/usr/local/ssl/lib/libssl.a(s2_srvr.o)(.text+0x1644): In function
`request_certificate':
: undefined reference to `EVP_MD_CTX_init'
/usr/local/ssl/lib/libssl.a(s2_srvr.o)(.text+0x165c): In function
`request_certificate':
: undefined reference to `EVP_DigestInit_ex'
/usr/local/ssl/lib/libssl.a(s2_srvr.o)(.text+0x174c): In function
`request_certificate':
: undefined reference to `EVP_MD_CTX_cleanup'
/usr/local/ssl/lib/libssl.a(s2_clnt.o)(.text+0x1228): In function
`client_certificate':
: undefined reference to `EVP_MD_CTX_init'
/usr/local/ssl/lib/libssl.a(s2_clnt.o)(.text+0x1240): In function
`client_certificate':
: undefined reference to `EVP_DigestInit_ex'
/usr/local/ssl/lib/libssl.a(s2_clnt.o)(.text+0x1312): In function
`client_certificate':
: undefined reference to `EVP_MD_CTX_cleanup'
/usr/local/ssl/lib/libssl.a(s2_lib.o)(.text+0x232): In function
`ssl2_generate_key_material':
: undefined reference to `EVP_MD_CTX_init'
/usr/local/ssl/lib/libssl.a(s2_lib.o)(.text+0x2ce): In function
`ssl2_generate_key_material':
: undefined reference to `EVP_DigestInit_ex'
and numerous more of these.

Any ideas ?


-- 
Edit bug report at http://bugs.php.net/?id=33338&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33338&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33338&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33338&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33338&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33338&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33338&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33338&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33338&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33338&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33338&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=33338&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=33338&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33338&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33338&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33338&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33338&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33338&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33338&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33338&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33338&r=mysqlcfg


Thread (29 messages)

« previous php.bugs (#80308) next »