ID:               33338
 Updated by:       [EMAIL PROTECTED]
 Reported By:      wim at godden dot net
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Redhat Linux
 PHP Version:      5.0.4
 New Comment:

And remove EVERY instance of openssl first from your machine!
(including sources)



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

[2005-06-15 00:23:35] [EMAIL PROTECTED]

You compiled Openssl yourself? Can you please try using the precompiled
packages?


------------------------------------------------------------------------

[2005-06-14 18:17:23] wim at godden dot net

The result :
/root>find / -name 'evp.h'
/root/install/openssl-0.9.7g/crypto/evp/evp.h
/root/install/openssl-0.9.7g/include/openssl/evp.h
/root/install/openssl-0.9.7d/crypto/evp/evp.h
/root/install/openssl-0.9.7d/include/openssl/evp.h
/usr/local/ssl/include/openssl/evp.h
/root>

------------------------------------------------------------------------

[2005-06-14 18:02:35] [EMAIL PROTECTED]

Are you sure you really removed ALL existing old Openssl headers??
Please try this:

# find / -name 'evp.h'


------------------------------------------------------------------------

[2005-06-14 17:23:40] wim at godden dot net

CVS snapshot results in same error :
ext/openssl/.libs/openssl.o(.text+0xd83): In function
`zm_startup_openssl':
/root/php5-200506141430/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'
....
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

------------------------------------------------------------------------

[2005-06-14 15:30:43] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/33338

-- 
Edit this bug report at http://bugs.php.net/?id=33338&edit=1

Reply via email to