Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I try to run Blender builds from Graphicall.org (11.04 Natty 64-bit), I get the following message:

./blender: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found (required by ./blender)

I have tried updating GCC and G++, but it still gives the error, and when I run

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC, I get

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.2.5
GLIBC_2.3
GLIBC_2.4
GLIBC_2.3.4
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

Are there any other libraries needed to get glib 3.4.15 on 11.04, or any other workarounds?

thanks,
AnthonyP

Edit: I don't know if it makes a difference, but I'm on a Wubi install. Edit:

ldd ./blender gives

./blender: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./blender)<br>
        linux-vdso.so.1 =>  (0x00007fffce5ff000)<br>
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f773ec3d000)<br>
        libpython3.2mu.so.1.0 => /usr/lib/libpython3.2mu.so.1.0 (0x00007f773e6cc000)<br>
        libopenal.so.1 => /usr/lib/libopenal.so.1 (0x00007f773e473000)<br>
        libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f773e265000)<br>
        libtiff.so.4 => /usr/lib/x86_64-linux-gnu/libtiff.so.4 (0x00007f773e002000)<br>
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f773dde9000)<br>
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f773db81000)<br>
        libfftw3.so.3 => /usr/lib/libfftw3.so.3 (0x00007f773d886000)<br>
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x00007f773d5ef000)<br>
        libGL.so.1 => /usr/lib/mesa/libGL.so.1 (0x00007f773d372000)<br>
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f773d103000)<br>
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f773cdc8000)<br>
        libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f773cbb8000)<br>
        libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f773c994000)<br>
        libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f773c76c000)<br>
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f773c3d7000)<br>
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f773c152000)<br>
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f773bf4d000)<br>
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f773bd2f000)<br>
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f773ba29000)<br>
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f773b812000)<br>
        libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f773b5bf000)<br>
        libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f773b230000)<br>
        libffi.so.5 => /usr/lib/libffi.so.5 (0x00007f773b027000)<br>
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f773adfd000)<br>
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f773abfa000)<br>
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f773a9f1000)<br>
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f773a7a7000)<br>
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f773a2d8000)<br>
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f773a0ab000)<br>
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f7739ea4000)<br>
        libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x00007f7739ca0000)<br>
        libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007f7739a5e000)<br>
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f773984c000)<br>
        libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f7739649000)<br>
        libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f7739442000)<br>
        libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f773923c000)<br>
        libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f7739031000)<br>
        /lib64/ld-linux-x86-64.so.2 (0x00007f773eefe000)<br>
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f7738e14000)<br>
        libpulsecommon-0.9.22.so => /usr/lib/libpulsecommon-0.9.22.so (0x00007f7738bc8000)<br>
        libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f77389c5000)<br>
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f77387aa000)<br>
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f77385a2000)<br>
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007f773839b000)<br>
        libxcb-atom.so.1 => /usr/lib/libxcb-atom.so.1 (0x00007f7738196000)<br>
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f7737f52000)<br>
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f7737d4e000)<br>
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f7737b48000)<br>
        libwrap.so.0 => /lib/libwrap.so.0 (0x00007f773793d000)<br>
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f7737737000)<br>
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f773751d000)<br>
share|improve this question
    
post the output of ldd ./blender –  user827992 Jul 16 '12 at 15:11
add comment

2 Answers

up vote 1 down vote accepted
sudo apt-get install libstdc++6

optionally you can force a global update of all the linked libraries with

sudo ldconfig

this last command can take some time and will not print anything on the bash, just wait.

EDIT

considering all the informations that you gave to us, you need to update your stdc++ library, this is the output of the same command that you used on your machine, but running on another machine updated to the latest stdc++ from this PPA

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
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.14
GLIBC_2.4
GLIBC_2.3.4
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH

to get that executable running you have to stay up to date with your std library.

Instructions

about how to update your stdc++ libraries from this PPA

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

now your stdc++ should be up to date, this PPA also contains some others c++ libraries that are probably not already installed in your system, you can use a package manager to filter all the libstdc++ packages.

share|improve this answer
    
I tried both of those; it tells me libstdc++6 is already the newest version, and ldconfig finishes in about a second and doesn't seem to do anything. –  Anthony P Jul 16 '12 at 15:40
    
ok, let's find how many stdc++ libraries do you have installed and where. run locate libstdc++.so.6 and post the output. –  user827992 Jul 16 '12 at 15:49
    
/usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.14 /usr/lib32/libstdc++.so.6 /usr/lib32/libstdc++.so.6.0.14 –  Anthony P Jul 16 '12 at 15:56
    
the libraries looks ok for the linker, and all the packages looks ok too, the only question left is something about a specific libstdc++ version that is required to run this executable. If you want to update the C++ libraries you have to use an external PPA because this are bleeding-edge packages that can arm your system and are supposed to be used only by developers, take a look at superuser.com/a/394811 and just update the system, in your case you just have to update the libraries. –  user827992 Jul 16 '12 at 16:08
    
how exactly would I update the libraries? –  Anthony P Jul 16 '12 at 16:19
show 2 more comments

What I found was that adding /usr/lib/x86_64-linux-gnu to the LD_LIBRARY_PATH worked for me.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.