I was reading http://bugs.php.net/bug.php?id=24774 where someone
mentioned to someone else getting this error that they should do a
'ldd libphp4.so' so I did and I noticed that libphp4.so is pointing
to some old libraries.  Here is the output:
ldd libphp4.so:
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40359000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40387000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4039b000)
        libsnmp.so.0 => /usr/lib/libsnmp.so.0 (0x403ba000)
        libssl.so.2 => /lib/libssl.so.2 (0x40414000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x40441000)
        libpspell.so.4 => /usr/lib/libpspell.so.4 (0x40505000)
        libpanel.so.5 => /usr/lib/libpanel.so.5 (0x40520000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40524000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0x40562000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4058a000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x405c9000)
        libz.so.1 => /usr/lib/libz.so.1 (0x405eb000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x405fa000)
        libdb-3.3.so => /lib/libdb-3.3.so (0x40618000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x406a7000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x406ad000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x406bd000)
        libm.so.6 => /lib/libm.so.6 (0x406cd000)
        libdl.so.2 => /lib/libdl.so.2 (0x406ef000)
        libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x406f2000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4071b000)
        libc.so.6 => /lib/libc.so.6 (0x407be000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0x408e5000)
        libpspell-modules.so.1 => /usr/lib/libpspell-modules.so.1
(0x408ec000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x408ef000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

So I assume that what I need to do is to somehow get rid of these
libraries.  However, I am worried that if I do this, that some other
application will stop working.
Does anyone have any suggestions on how to get rid of these libraries
safely?


--- Mike Ryerse <[EMAIL PROTECTED]> wrote:
> I re-installed openssl 0.9.7d to /usr/local/ssl and changed my
> ./configure to --with-openssl=/usr/local/ssl and now I can make
> install w/o errors, but when apache tries loading libphp4.so, I am
> getting the following error:
> Syntax error on line 264 of /etc/httpd/conf/httpd.conf:
> Cannot load /usr/lib/apache/libphp4.so into server:
> /usr/lib/apache/libphp4.so: undefined symbol:
> OPENSSL_add_all_algorithms_noconf
> 
> Please if anyone can help I would really appreciate it, I've been
> googling all week on this.
> 
> 
> --- Elfyn McBratney <[EMAIL PROTECTED]> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Hello Mike,
> > 
> > On Tuesday 20 Apr 2004 20:46, Mike Ryerse wrote:
> > > Hi, I've been racking my brain on this for quite a while now. 
> > Any
> > > help at all is much appreciated (I might start going bald early
> > at
> > > this rate of frustration!)
> > > When I compile php, ./configure (with options) runs w/o error,
> > but
> > > when I make I get the following:
> > >
> > > main/network.lo: In function
> > > `php_stream_sock_ssl_activate_with_method':
> > > /root/install/php-4.3.6/main/network.c:750: undefined reference
> > to
> > > `php_SSL_new_from_context'
> > > /root/install/php-4.3.6/main/network.c:784: undefined reference
> > to
> > > `php_openssl_apply_verification_policy'
> > > collect2: ld returned 1 exit status
> > > make: *** [sapi/cli/php] Error 1
> > >
> > > Here is my configure statement:
> > > './configure' 'i386-redhat-linux' '--prefix=/usr'
> > > '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
> > > '--sysconfdir=/etc' '--datadir=/usr/share'
> > > '--includedir=/usr/include' '--libdir=/usr/lib'
> > > '--libexecdir=/usr/libexec' '--localstatedir=/var'
> > > '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
> > > '--infodir=/usr/share/info' '--prefix=/usr'
> > > '--with-config-file-path=/etc' '--enable-force-cgi-redirect'
> > > '--disable-debug' '--enable-pic' '--disable-rpath'
> > > '--enable-inline-optimization' '--with-bz2' '--with-db3'
> > > '--with-curl' '--with-dom=/usr' '--with-freetype-dir=/usr'
> > > '--with-expat-dir=/usr' '--enable-exif'
> > '--with-exec-dir=/usr/bin'
> > > '--with-png-dir=/usr' '--with-openssl-dir=/usr/local'
> '--with-gd'
> > > '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm'
> > '--with-gettext'
> > > '--with-ncurses' '--with-gmp' '--with-iconv'
> > '--with-jpeg-dir=/usr'
> > > '--with-png' '--with-pspell' '--with-regex=system'
> '--enable-ftp'
> > > '--with-zlib' '--with-layout=GNU' '--enable-bcmath'
> > > '--enable-debugger' '--enable-magic-quotes'
> '--enable-safe-mode'
> > > '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
> > > '--enable-discard-path' '--enable-track-vars'
> > '--enable-trans-sid'
> > > '--enable-yp' '--enable-wddx' '--without-oci8'
> > '--with-imap=shared'
> > > '--with-kerberos=/usr/kerberos' '--with-ldap=shared'
> > > '--with-mysql=shared,/usr' '--with-xml'
> '--with-unixODBC=shared'
> > > '--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
> > > '--enable-versioning' '--enable-calendar' '--enable-dbx'
> > > '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans'
> > > '--with-apxs=/usr/sbin/apxs'
> > 
> > Your missing a `--with-openssl=/usr/local'.
> > 
> > Elfyn
> > 
> > - -- 
> > Elfyn McBratney, EMCB
> > mailto:[EMAIL PROTECTED]
> > http://www.emcb.co.uk/
> > 
> > PGP Key ID: 0x456548B4
> > PGP Key Fingerprint:
> >   29D5 91BB 8748 7CC9 650F  31FE 6888 0C2A 4565 48B4
> > 
> > Error: quote_machine(): Dry humour detected.
> > 
> > >> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <<
> > << ~  Linux london 2.6.5-emcb-243 #2 i686 GNU/Linux  ~ >>
> > >> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <<
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.4 (GNU/Linux)
> > 
> > iD8DBQFAhZtLaIgMKkVlSLQRAig4AJ4j91LIqwA0Bqhj5syg49FqmSIHlQCePjHM
> > xDCiimK1wZ7QYkR1OBrApFs=
> > =U6nL
> > -----END PGP SIGNATURE-----
> 
> 
> 
>       
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25¢
> http://photos.yahoo.com/ph/print_splash
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to