[Solved] Libstdc++ Error

Discussion and support for the CUDA Multiforcers (Windows and Linux)
  • Ads

[Solved] Libstdc++ Error

Postby synthesis » Fri Jan 23, 2009 8:39 am

Hi guys :D

I got this error while launching NTLM multiforce 5.1 (the same about 5.0):

$ ./NTLM-Multiforcer
Launching 64-bit binary
./NTLM-Multiforcer-64: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./NTLM-Multiforcer-64)


This is ldd:

$ ldd NTLM-Multiforcer-64
./NTLM-Multiforcer-64: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./NTLM-Multiforcer-64)
linux-vdso.so.1 => (0x00007fff0f9ff000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f9b074c8000)
libargtable2.so.0 => /usr/lib/libargtable2.so.0 (0x00007f9b072c1000)
libcudart.so.2 => /opt/cuda/lib/libcudart.so.2 (0x00007f9b07083000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6 (0x00007f9b06d5e000)
libm.so.6 => /lib/libm.so.6 (0x00007f9b06add000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f9b068d0000)
libc.so.6 => /lib/libc.so.6 (0x00007f9b06591000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f9b06376000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f9b05ffc000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f9b05df8000)
librt.so.1 => /lib/librt.so.1 (0x00007f9b05bef000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9b07715000)


And this is my software configuration:

Linux localhost 2.6.27-gentoo-r8 #4 SMP Thu Jan 22 22:41:10 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz GenuineIntel GNU/Linux

x11-drivers/nvidia-drivers-180.22
dev-util/nvidia-cuda-sdk-2.10.1215.2015
dev-util/nvidia-cuda-toolkit-2.1
sys-devel/gcc-4.1.2

They say it can be a problem concerning GCC, now I try to rebuild my system and if it doesn't work I will upgrade to gcc 4.2 or 4.3
Last edited by synthesis on Sun Jan 25, 2009 5:42 pm, edited 2 times in total.
synthesis
 
Posts: 6
Joined: Fri Jan 23, 2009 8:31 am

Re: Libstdc++ Error

Postby synthesis » Fri Jan 23, 2009 9:53 am

And finally I did it :D

Just installed a newer version of gcc:
sys-devel/gcc-4.2.4-r1

And changed profile:
$ gcc-config -l
[1] x86_64-pc-linux-gnu-4.1.2
[2] x86_64-pc-linux-gnu-4.2.4 *


Hope this helps to other people to solve problems like this.
I will post my results in another topic as soon as my tests are complete. Thanks again :)
Last edited by synthesis on Sun Jan 25, 2009 5:42 pm, edited 1 time in total.
synthesis
 
Posts: 6
Joined: Fri Jan 23, 2009 8:31 am

Re: [Solved] Libstdc++ Error

Postby Bitweasil » Fri Jan 23, 2009 4:46 pm

Thanks!

I've been doing my development & testing with Ubuntu, haven't touched Gentoo in years.
Bitweasil
Site Admin
 
Posts: 912
Joined: Tue Jan 20, 2009 4:26 pm

Re: [Solved] Libstdc++ Error

Postby hackajar » Sat Nov 13, 2010 1:03 am

I had same issue when attempting to load the V0.72 version on Backtrack 4 (currently only has v0.70 in its universe)

Solution:
Download libstdc++.so.6.0.12 (http://ubuntuforums.org/showthread.php?t=1343590)
delete Sym Link (/usr/lib/libstdc++.so.6)
relink to new lib file (ln -s /usr/lib/libstdc++.so.6.0.12 /usr/lib/libstdc++.so.6)
hackajar
 
Posts: 30
Joined: Tue Sep 14, 2010 10:21 pm


Return to CUDA Multiforcers

Who is online

Users browsing this forum: No registered users and 1 guest

cron