#33338 [Fbk->Opn]: undefined reference to `OPENSSL_add_all_algorithms_noconf'

From: Date: Tue, 14 Jun 2005 23:31:56 +0000
Subject: #33338 [Fbk->Opn]: undefined reference to `OPENSSL_add_all_algorithms_noconf'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80346@lists.php.net to get a copy of this message
ID: 33338 User updated by: wim at godden dot net Reported By: wim at godden dot net -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Redhat Linux PHP Version: 5.0.4 New Comment: I can's possibly use packages in OpenSSL due to company policy (we are not allowed to use certain encryption techniques for level reasons). I don't see the point in doing so, as I'm compiling PHP from source as well. The system is clean of any OpenSSL remains (check every file in the OpenSSL package, removed them all). Anything else you can suggest to further debug things ? Previous Comments: ------------------------------------------------------------------------ [2005-06-15 00:24:29] sniper@php.net And remove EVERY instance of openssl first from your machine! (including sources) ------------------------------------------------------------------------ [2005-06-15 00:23:35] sniper@php.net 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] sniper@php.net 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 ------------------------------------------------------------------------ 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

« previous php.bugs (#80346) next »