LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (http://www.linuxquestions.org/questions/slackware-14/usr-lib64-libstdc-so-6-version-%60glibcxx_3-4-15-not-found-919350/)

pigkouinos 12-18-2011 12:14 PM

/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
 
Ok, I'm running Slackware 13.37 and have being installing some Humble Bunlde games. A game named "Bit.Trip Runner" is giving me this:

Code:

./bit.trip.runner: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./bit.trip.runner)
I found this command while googling:
Code:

$ strings /usr/lib/libstdc++.so.6 | grep GLIBC
here's the output (GLIBCXX_3.4.14 is available, yupie):

Code:

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBC_2.0
GLIBC_2.3
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

Any ideas ?

knudfl 12-18-2011 12:51 PM

GLIBCXX_3.4.15 is an object in libstdc++.so.6.0.16.
( libstdc++.so.6.0.15 ? ).
'libstdc++.so.6.0.16' is part of gcc-4.6.x .


Not very smart to compile a game with the "compiler of tomorrow".
Slackware current has gcc-4.5.3 .
OS' with 4.6 : Fedora 15-16 , Debian Wheezy and Sid.

Solution : Compile gcc-4.6.2 with --prefix=/usr/local/gcc462/,
copy libstdc++.so.6.0.16 to /usr/lib64/,
and make a new symlink libstdc++.so.6 to libstdc++.so.6.0.16

Or grap libstdc++.so.6.0.16 from "libstdc++6_4.6.2-7_amd64.deb"
http://ftp.de.debian.org/debian/pool....2-7_amd64.deb
The package can be unpacked with 'ar -x <package> && tar xvf data.tar.gz'.

..

pigkouinos 12-18-2011 01:34 PM

Thanks :-)
 
Thanks knudfl ! I chose method no.2, the game works now. Maybe I'll contact the developer to compile the game with a more sane version of gcc...

Cabelo do Mato 08-18-2012 11:09 AM

Hi Guys,

I just wanted to contribute with a solution which worked for me. And it was the a very simple solution. :)

As a Slackware user, I just run #slackpkg upgrade gcc

And.... Viola! It solved my problem. So it may be somebody else case. Before going crazy looking for a solution, update what you have. :)

dwblas 08-19-2012 02:10 PM

The previous post was from last December, so the upgrade was possibly not available then.

alexdb2012 09-20-2012 01:41 AM

Hi,

For mi also same problem

compiz:/opt/quartus/linux/libstdc++so.6:version'GLIBCXX_3.4.15 not found required by compiz.

Any ideas.


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