Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-17-2003, 05:32 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
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/ /usr/local/apache_1.3.27/libexec/
chmod 755 /usr/local/apache_1.3.27/libexec/
cp /usr/local/apache_1.3.27/conf/httpd.conf
cp /usr/local/apache_1.3.27/conf/
rm /usr/local/apache_1.3.27/conf/
Installing shared extensions:
Installing PEAR environment: /usr/local/lib/php/
/usr/local/php-4.3.1/sapi/cli/php: relocation error:
/usr/lib/ symbol errno, version GLIBC_2.0 not
defined in file 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.
Old 04-17-2003, 08:51 PM   #2
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
RH9 is using glib 2.3.2 I started out with Apache 1.3, and i really havent noticed much of a change with Apache 2, and the PHP and MySQL (both the server and the php-mysql module) come with the distro. I would try these first.
Old 04-17-2003, 08:52 PM   #3
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
Oh yeah..... there is a major difference between 2.0, 2.1, 2.2 and 2.3......just ask the wine people and they will tell ya all about it ;-).
Old 05-05-2003, 05:13 PM   #4
LQ Newbie
Registered: May 2003
Posts: 2

Rep: Reputation: 0

For Redhat 9.0, It is a bug of PHP -- better use PHP 4.2RC2 or the last snapshot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on install:GLIBC_2.0 not defined fordown Linux - Software 7 04-02-2009 05:28 AM
GLIBC_2.3.4 not defined in file when running gnuplot azariaya Linux - Software 7 01-05-2005 04:57 PM
Error on install:GLIBC_2.0 not defined fordown Linux - Software 2 09-20-2004 12:42 AM
Problem with Insight II - version GLIBC_2.2 not defined in file belga Linux - Software 3 08-18-2004 01:01 PM
MDK10 official error with "GLIBC_2.0 not defined" lvxiang Mandriva 3 08-16-2004 10:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration