Well, several things may be going on here. To begin with, you have only built the static libraries for OpenSSL. To get shared libraries as well, you need to configure like this:
./config shared And that will only produce shared libraries where we support it. However, that SHOULDN'T make a difference, since you have given the correct OpenSSL path to the php configure script. This means there's something fishy in the PHP build that makes it link with the default OpenSSL libraries for your platform. Another point: is /usr/lib/apache/libphp4.so really the thing you bulit or did your build end up somewhere else? If what you installed ended up somewhere else, that answers all your questions :-) In message <[EMAIL PROTECTED]> on Tue, 20 Apr 2004 22:10:39 -0700 (PDT), Mike Ryerse <[EMAIL PROTECTED]> said: mikeryerse> Command for installing openssl-0.9.7d.tar.gz: mikeryerse> ./config mikeryerse> make mikeryerse> make install mikeryerse> mikeryerse> Command for php-4.3.6: mikeryerse> ./configure --with-openssl=/usr/local/ssl mikeryerse> make mikeryerse> make install mikeryerse> mikeryerse> Then when starting apache I get the following: mikeryerse> Syntax error on line 264 of /etc/httpd/conf/httpd.conf: mikeryerse> Cannot load /usr/lib/apache/libphp4.so into server: mikeryerse> /usr/lib/apache/libphp4.so: undefined symbol: mikeryerse> OPENSSL_add_all_algorithms_noconf mikeryerse> mikeryerse> I checked an ldd on libphp4.so and this is what I get: mikeryerse> # ldd libphp4.so mikeryerse> libssl.so.2 => /lib/libssl.so.2 (0x40414000) mikeryerse> mikeryerse> There seems to be a link on this file: mikeryerse> # ls -l libssl.so.2 mikeryerse> lrwxrwxrwx 1 root root 16 Mar 13 09:05 libssl.so.2 mikeryerse> -> libssl.so.0.9.6b mikeryerse> mikeryerse> Can anyone help me please? I've been working on this for ages. ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte \ Tunnlandsvägen 52 \ [EMAIL PROTECTED] [EMAIL PROTECTED] \ S-168 36 BROMMA \ T: +46-708-26 53 44 \ SWEDEN \ Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]