Just built openssl with './config shared'; 'make'; 'make install'
Now php is not installing.
Before I compile I run the following ./configure command:

'./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' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-db3'
'--with-bz2' '--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=/usr/local/ssl' '--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' '--with-snmp'
'--enable-ucd-snmp-hack' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp'
'--enable-wddx' '--without-oci8' '--with-imap=shared'
'--with-imap-ssl' '--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'

It configures w/o error.
Then I do a make, no error.  Then I do a make install, and I get the
following:

# make install
Installing PHP SAPI module:       apache
[activating module `php4' in /etc/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/libphp4.so
chmod 755 /usr/lib/apache/libphp4.so
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
cp /etc/httpd/conf/httpd.conf.new /etc/httpd/conf/httpd.conf
rm /etc/httpd/conf/httpd.conf.new
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/share/man/man1/
Installing shared extensions:     /usr/lib/20020429/
Installing PEAR environment:      /usr/share/pear/
/root/install/php-4.3.6/sapi/cli/php: error while loading shared
libraries: libssl.so.0.9.7: cannot open shared object file: No such
file or directory
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
#

I have checked /usr/local/ssl/lib and libssl.so.0.9.7 is there.  I
did an ldd on libphp4.so and get this:
# ldd /usr/lib/apache/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)

I copied libssl.so.0.9.7 to /lib and tried make install on php again,
still saying that pear cannot find libssl.so.0.9.7


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

Reply via email to