I just downloaded and tried to build & install PHP 5.0.1. Everything went fine until the install, where I received the error:
---------------------------------------------------------------
/root/builds/php-5.0.1/sapi/cli/php: relocation error:
/root/builds/php-5.0.1/sapi/cli/php: undefined symbol:
xmlRelaxNGCleanupTypes
---------------------------------------------------------------
(See below for context)
I'm wondering if anyone knows why this might be happening, or where xmlRelaxNGCleanupTypes comes from. I am running Redhat Linux 9.0, Apache 1.3.31.
---------------------------------------------------------------
Here is the configure command I used:
---------------------------------------------------------------
CFLAGS="-mcpu=i586 -march=i586" ./configure --prefix=/usr/local/php501 \
--with-apxs=/usr/local/apache-1.3.31/bin/apxs \
--with-zlib \
--enable-bcmath \
--enable-calendar \
--enable-dbase \
--enable-exif \
--enable-ftp \
--with-jpeg \
--with-png \
--with-tiff \
--with-gd \
--with-ttf \
--enable-gd-native-ttf \
--with-gettext \
--with-iconv \
--enable-mbstring=shared \
--with-mysql \
--enable-shmop \
--enable-sockets \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-memory-limit
---------------------------------------------------------------
Here is the error I got during install:
---------------------------------------------------------------
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/apache-1.3.31/conf/httpd.conf]
cp libs/libphp5.so /usr/local/apache-1.3.31/libexec/libphp5.so
chmod 755 /usr/local/apache-1.3.31/libexec/libphp5.so
cp /usr/local/apache-1.3.31/conf/httpd.conf
/usr/local/apache-1.3.31/conf/httpd.conf.bak
cp /usr/local/apache-1.3.31/conf/httpd.conf.new
/usr/local/apache-1.3.31/conf/httpd.conf
rm /usr/local/apache-1.3.31/conf/httpd.conf.new
Installing PHP CLI binary: /usr/local/php501/bin/
Installing PHP CLI man page: /usr/local/php501/man/man1/
Installing shared extensions:
/usr/local/php501/lib/php/extensions/no-debug-non-zts-20040412/
Installing PEAR environment: /usr/local/php501/lib/php/
[PEAR] Archive_Tar - already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] PEAR - already installed: 1.3.2
Wrote PEAR system config file at: /usr/local/php501/etc/pear.conf
You may want to add: /usr/local/php501/lib/php to your php.ini include_path
/root/builds/php-5.0.1/sapi/cli/php: relocation error:
/root/builds/php-5.0.1/sapi/cli/php: undefined symbol:
xmlRelaxNGCleanupTypes
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
Any help will be greatly appreciated. Thanks!
- Paul Baranowski
[EMAIL PROTECTED]
|