LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-31-2009, 05:53 AM   #1
mark_l
LQ Newbie
 
Registered: May 2009
Posts: 9

Rep: Reputation: 0
/lib/libc.so.6: version GLIBC_2.7 not found


I compiled a self-made program on a fedora11 pc where it runs correctly.

Now I want to run this program on a centos 5.3 pc and I get this error:

"/lib/libc.so.6: version GLIBC_2.7 not found"

I tried to yum install libc.so.6, but I get the message this package is installed and up to date.

What can I do?
 
Old 07-31-2009, 06:03 AM   #2
mek
Member
 
Registered: Jul 2009
Location: Buenos Aires, Argentina
Distribution: fedora, slackware, *bsd
Posts: 42

Rep: Reputation: 17
it looks like your glibc in the centos pc is not compatible with the glibc 2.10 of fedora 11.

the libc library is one of the most important library in the system, it defines the 'system calls' and basic facilities, such as open, malloc, printf, exit. I strongly recommend you to *don't* replace it in the centos computer, the only thing that you can do, at my point of view, is compile this program into the centos computer where you have the currect glibc that you will need to run this program, or compiling it in another centos computer in a virtual machine for example.
 
Old 07-31-2009, 09:33 AM   #3
largem
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
That is because your fedora11 has higher version of glibc than your centos 5.3 does.

You can fix this by rebuilding your program under centos 5.3 and I think the binary can run on fedora11 too.

The higher version of glibc is backward compatible with lower version.
 
Old 07-31-2009, 10:12 AM   #4
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Hey,

I recommend you to run this command.

Code:
find / -name /lib/libc.so*
This will give some files like /lib/libc.so.4 or /lib/libc.so.5 or some number at the end.

Then, just make a soft link.
Code:
ln -s /lib/libc.so.4  /lib/libc.so.6.
This has worked for me several times, should work for you too.

Hope this helps.
 
Old 03-04-2013, 12:02 AM   #5
vikasmailsu
LQ Newbie
 
Registered: Mar 2010
Posts: 29

Rep: Reputation: 0
/lib/libc.so.6: version `GLIBC_2.7' not found (required by bjam)

Hi Experts


I am running an c++ application in opensuse 10.2 and get the following error:-


bjam: /lib/libc.so.6: version `GLIBC_2.7' not found (required by bjam).


Can anybody help me.


I found the following article;-


http://www.linuxquestions.org/questi...-found-744125/


But it wont help me either. I found


/usr/lib/libc.so
/lib/libc.so.6



So it won't solve my problem.Can anybody help me in this regard.


Thanks & Regards

Vikas
 
  


Reply



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
/lib/libc.so.6: version 'GLIBC_2.4' not found blviper Linux - Software 2 05-22-2010 10:29 AM
"libc.so.6: version `GLIBC_2.4' not found" when running library on different machine mventimi Linux - Newbie 1 09-27-2007 07:15 AM
ntop: /lib/libc.so.6: version `GLIBC_2.4' not found jayakrishnan Linux - Software 4 02-07-2006 04:43 AM
/lib/libpthread.so.): version 'GLIBC_2.3.2' not found solutionseeker Linux - Newbie 21 01-29-2005 09:02 PM
xauth: /lib/i686/libc.so.6: version 'GLIBC_2.3.2' not found yigald Linux - Newbie 0 02-20-2004 11:52 PM

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

All times are GMT -5. The time now is 09:00 AM.

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
Open Source Consulting | Domain Registration