LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-03-2012, 10:37 AM   #1
IrishLinuxGirl
LQ Newbie
 
Registered: May 2012
Posts: 9

Rep: Reputation: Disabled
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found


Hello,
I am getting tnhis error when making a project.

Code:
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found
I am using Redhat 5 enterprise.

My Glibc version is glibc-2.5-81.

Has anybody got any suggestions? I am fairly new to linux.

Thanks in advance.
 
Old 05-03-2012, 11:08 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,211

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
GLIBCXX_3.4.11 is an object in libstdc++.so.6.** from gcc-4.4.x.

The easy way is to make a backup of your /usr/lib/libstdc++.so.6.0.8,
and delete the link libstdc++.so.6 , and use a replacement that works
with your glibc : will usually be libstdc++.so.6.0.13 from the package libstdc++6_4.4.5-8_i386.deb ( 32bits )
http://ftp.de.debian.org/debian/pool...4.5-8_i386.deb
64bits http://ftp.de.debian.org/debian/pool....5-8_amd64.deb

Unpack with : ar -x <package>.deb && tar xvf data.tar.gz,
... and copy libstdc++.so.6.0.13 to /usr/lib/, and :
# ln -s libstdc++.so.6.0.13 libstdc++.so.6

Ref. http://packages.debian.org/squeeze/libstdc++6

.
 
Old 05-03-2012, 11:28 AM   #3
IrishLinuxGirl
LQ Newbie
 
Registered: May 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. Its a debian package? Will this work with RedHat?
 
Old 05-03-2012, 11:59 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,211

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
The suggestion is to unpack the package and use one file.

So you are actually not using the package.

And it doesn't really matter which Linux OS that was used
to compile the content of the package.

Could as well be a Suse SLE10 libstdc++44-4.4.2_20100116-28.1.i586.rpm
http://download.opensuse.org/reposit...E-10_SDK/i586/
But installing it as a package would conflict with the installed libstdc++.so.6.

( Some of the compilers in the above Suse link can be used on RHEL5.)

.
 
1 members found this post helpful.
Old 08-18-2012, 11:13 AM   #5
Cabelo do Mato
LQ Newbie
 
Registered: May 2011
Location: Sydney - Australia
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
In my case, I just updated my gcc.

As Slackware user I used #slackpkg upgrade gcc

Plus, you can check what versions of the GCCLIB you currently have in the system with #strings /usr/lib/libstdc++.so.6 | grep GLIBCXX
 
  


Reply

Tags
glibcxx_3.4.11, glibcxx_3.4.11-el5


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
[SOLVED] /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found pigkouinos Slackware 5 09-20-2012 01:41 AM
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./example1) babu198649 Linux - Newbie 24 12-02-2010 04:09 AM
FC4 - /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.6' not found TBennettcc Fedora 0 11-01-2008 09:39 PM
"/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found" worked but stil confused babu198649 Linux - Newbie 2 03-24-2008 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:48 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