Problems with PHP4 compile - cont.
| From: | Are Westby | Date: | Thu, 15 Feb 2001 13:42:26 +0000 |
| Subject: | Problems with PHP4 compile - cont. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2073@lists.php.net to get a copy of this message | ||
|System: RedHat7, kernel 2.4.1, mysql 3.23.22, apache 1.3.17, libxml
|2.3.0-1/devel2.3.0-1
|
|Trying to compile php 4.0.4pl1 with the following statement:
|
|sh configure --enable-trans-sid --with-mysql --with-magic-quotes
--with-apxs
|--with-dom
|Now the compile of php runs through just fine, but when I try to start
|Apache, I get:
|
|"Syntax error 224 of /usr/local/apache/conf/httpd.conf:
|Cannot load /var/local/apache/libexec/libphp4.so into server:
|/usr/local/apache/
|libexec/libphp4.so: undefined symbol: xmlPtrNewContext
|/usr/local/apache/bin/apachectl start: httpd could not be started"
ldd /usr/local/apache/libexec/libphp4.so says:
libz.so.1 => /usr/lib/libz.so.1 (0x40156000)
libpam.so.0 => /lib/libpam.so.0 (0x40164000)
libdl.so.2 => /lib/libdl.so.2 (0x4016c000)
libxml.so.1 => /usr/lib/libxml.so.1 (0x4016f000)
libresolv.so.2 => /lib/libresolv.so.2 (0x401cb000)
libm.so.6 => /lib/libm.so.6 (0x401de000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x401fe000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4022b000)
libc.so.6 => /lib/libc.so.6 (0x40241000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Now, libxml.so.1, IIRC, belongs to a much older libxml-dist than 2.3.0 that
I have installed. How would I go about to rectify this, so that libphp4's
ldd points to /usr/lib/libxml2.so.2, which is the libfile that "belongs" to
libxml2-2.3.0-|?
Rgds,
Are