I had tried building openssl with ./config shared before you
suggested it, and after that I tried ./configure for php and it
failed on db3 and imap (I have more to the ./configure command for
php than I mentioned, just wanted to save email space for everyone).
I ended up re-installing db3 and imap and re-building openssl and php
and am back where I was with the undefined symbol:
OPENSSL_add_all_algorithms_noconf.
/usr/lib/apache/libphp4.so is where make install says that it copied
to, and when I do a ls -l on it, it shows todays date, so I know that
it's the correct one.
It seems like php knows that there is a function called
OPENSSL_add_all_algorithms_noconf in evp.h, but something is wrong
when apache tries to load it, like libphp4.so is pointing to an old
version of evp.h that doesn't have OPENSSL_add_all_algorithms_noconf
in it.  Or something like that.
It looks like libssl.so.0.9.6b was last modified at the same time I
built openssl so I'd think it would have the latest info in it.  I
was perplexed as to why it would still say 0.9.6b as I am compiling
0.9.7d, but I figure that maybe it just hasn't been updated by the
openssl developers.
If I search google for libssl.so.0.9.7d there are no results.
Although this isn't working, I'm learning a lot about building
applications!  Gotta look at the bright side :)

--- Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> wrote:
> 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]



        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to