I want to run Cilkscreen command with a cilk++ program but I'v got this error
/usr/local/cilk/bin/../lib32/pinbin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Can you help me please
Try this:
apt-get install lib32stdc++6
lib64stdc++6 instead ?
Aug 28, 2015 at 5:46
lib32stdc++6 is for 64bit machine running 32bit software. Something similar to "compatibility layer". To run 64bit ("native") software on 64bit machine you just need libstdc++6. (The links are for Ubuntu 14.04 Trusty Tahr; I cannot find the link for Ubuntu 10.10 Maverick Meerkat.)
Jun 14, 2016 at 3:49
I presume you're running Linux on an amd64 machine.
The Folder your executable is residing in (lib32) suggests a 32-bit executable which requires 32-bit libraries.
These seem not to be present on your system, so you need to install them manually.
The package name depends on your distribution, for Debian it's ia32-libs, for Fedora libstdc++.<version>.i686.
ia32-libs or switch to a 64-bit version of the software you're trying to use.
Jul 13, 2012 at 14:08
For Red Hat :
sudo yum install libstdc++.i686
sudo yum install libstdc++-devel.i686
For Fedora use:
yum install libstdc++44.i686
You can find out which versions are supported by running:
yum list all | grep libstdc | grep i686
/usr/local/cilk/bin/../lib32/pinbin is dynamically linked to a library libstdc++.so.6 which is not present anymore. You need to recompile Cilk
/usr/lib32/libstdc++.so.6.
Jul 13, 2012 at 15:01