LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-17-2003, 06:32 PM   #1
-id-
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/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.
 
Old 04-17-2003, 09:51 PM   #2
Tomasfuego
Member
 
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, 09:52 PM   #3
Tomasfuego
Member
 
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, 06:13 PM   #4
ogms
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Bug PHP

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


Reply


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 06:28 AM
GLIBC_2.3.4 not defined in file libc.so.6 when running gnuplot azariaya Linux - Software 7 01-05-2005 05:57 PM
Error on install:GLIBC_2.0 not defined fordown Linux - Software 2 09-20-2004 01:42 AM
Problem with Insight II - version GLIBC_2.2 not defined in file libc.so.6... belga Linux - Software 3 08-18-2004 02:01 PM
MDK10 official error with "GLIBC_2.0 not defined" lvxiang Mandriva 3 08-16-2004 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:20 PM.

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