[nycphp-talk] PHP5/Apache problems after FC4 upgrade
David Mintz
dmintz at davidmintz.org
Tue Aug 23 15:52:34 EDT 2005
Foolish me, just upgraded from Fedora Core 3 to 4 (with CDs, choosing
"Upgrade" rather than fresh install).
Now Apache can't start, and the error is
Syntax error on line 223 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp5.so into server: libssl.so.4:
cannot open shared object file: No such file or directory
/usr/local/apache/bin/apachectl start: httpd could not be started
Not really understanding what I am doing, I figure, let's just try
re-compiling and re-installing first Apache, then PHP. Apache went fine.
With PHP 5.0.4, 'make' pukes the following:
grep: /usr/lib/libxml2.la: No such file or directory
/bin/sed: can't read /usr/lib/libxml2.la: No such file or directory
libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive
make: *** [libphp5.la] Error 1
And /usr/lib contains:
[david at mintz php-5.0.4]$ ls -lt /usr/lib/*libxml*
lrwxrwxrwx 1 root root 27 Aug 23 09:18
/usr/lib/libxmlsec1-openssl.so -> libxmlsec1-openssl.so.1.2.7
lrwxrwxrwx 1 root root 27 Aug 23 09:18
/usr/lib/libxmlsec1-openssl.so.1 -> libxmlsec1-openssl.so.1.2.7
lrwxrwxrwx 1 root root 19 Aug 23 09:18 /usr/lib/libxmlsec1.so ->
libxmlsec1.so.1.2.7
lrwxrwxrwx 1 root root 19 Aug 23 09:18 /usr/lib/libxmlsec1.so.1 ->
libxmlsec1.so.1.2.7
lrwxrwxrwx 1 root root 17 Aug 23 09:04 /usr/lib/libxml2.so ->
libxml2.so.2.6.19
lrwxrwxrwx 1 root root 16 Aug 23 08:56 /usr/lib/libxml.so.1 ->
libxml.so.1.8.17
lrwxrwxrwx 1 root root 17 Aug 23 08:32 /usr/lib/libxml2.so.2 ->
libxml2.so.2.6.19
-rwxr-xr-x 1 root root 1118880 Apr 2 06:21 /usr/lib/libxml2.so.2.6.19
-rw-r--r-- 1 root root 1484948 Apr 2 06:21 /usr/lib/libxml2.a
-rwxr-xr-x 1 root root 189592 Mar 8 09:44
/usr/lib/libxmlsec1-openssl.so.1.2.7
-rwxr-xr-x 1 root root 372088 Mar 8 09:44 /usr/lib/libxmlsec1.so.1.2.7
-rwxr-xr-x 1 root root 445388 Feb 9 2005 /usr/lib/libxml.so.1.8.17
This is what my ./configure command looks like:
'--with-gd' '--with-curl' '--with-mysql=/usr/local/mysql' '--with-xsl'
'--enable-inline-optimization'
'--with-apxs=/usr/local/apache/bin/apxs' '--enable-exif' '--with-xml'
'--with-zlib-dir=/usr/local/lib'
'--with-openssl' '--with-mcrypt'
'--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-tidy'
'--enable-soap'
I have googled and twiddled for a couple of hours and nothing I come up
with seems right on point. Any suggestions?
Gratefully,
---
David Mintz
http://davidmintz.org/
More information about the talk
mailing list