GLIBC_2.0 not defined... Redhat 9 installing php
Well, set up a RH9 system the other day. Installed Apache 1.3.27, MySQL 4.0, and began to install php4.0. All fairly new to this, but everything seemed to be going alright.
ran ./configure --with-mysql=/usr --with-apxs=/usr/local/apache_1.3.27/bin/apxs in php's directory.
Ran the make file.
Upon executing make install I received the following:
make install
Installing PHP CLI binary: /usr/local/bin/
Installing PHP SAPI module
[activating module `php4' in /usr/local/apache_1.3.27/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache_1.3.27/libexec/libphp4.so
chmod 755 /usr/local/apache_1.3.27/libexec/libphp4.so
cp /usr/local/apache_1.3.27/conf/httpd.conf
/usr/local/apache_1.3.27/conf/httpd.conf.bak
cp /usr/local/apache_1.3.27/conf/httpd.conf.new
/usr/local/apache_1.3.27/conf/httpd.conf
rm /usr/local/apache_1.3.27/conf/httpd.conf.new
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
/usr/local/php-4.3.1/sapi/cli/php: relocation error:
/usr/lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not
defined in file libc.so.6 with link time reference
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
Not entirely sure what is going on here, but attempted to rpm -u a glibc rpm for RH9 but as it was already installed, so it didnt let me do that. Performed the ./configure line with a --without-pear and that worked. However, ./bin apachectl would not launch and gave me the same error!
Any help and explanation of how to fix/work around this would be appreciated.
|