Closed hyOzd closed 5 years ago
You need at least libstdc++.so.6.0.20
for GLIBCXX_3.4.20
support. This library is provided by libstdc++6
v4.9.0. Since you have v4.8.4 you are one minor version behind. v4.8.4 provides C++ ABI support only up to GLIBCXX_3.4.19
.
As a work around you could either try running the Ubuntu package or building from source.
Hmm, thanks for info. I think it would be good idea to add this dependency into the debian package.
Good point. Even better would be to get CAMotics in to Debian. I've been hoping to find someone to help me with this.
Here's a solution for this problem in Ubuntu/Mint:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo apt-get upgrade libstdc++6
You can check if you have GLIBCXX_3.4.20
like this:
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
The following solution works for me:
Follow these steps to solve the issue:
go to the right location and backup your current anaconda2 shortcut (change its name so it isn't overwritten):
cd ~/anaconda2/lib
mv -vf libstdc++.so.6 libstdc++.so.6.old
create a new shortcut using the ln command (I am assuming that I am in the previous location ~/anaconda2/lib):
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./libstdc++.so.6
restart spyder / other interface you use
replace anaconda2 with anaconda or anaconda3 as needed.
v1.2.0 now requires GLIBCXX_3.4.21 so this issue will not be fixed. The only viable solution is to get a CAMotics source package accepted into Debian.
I've installed CAMotics via this debian package on Linux Mint 17.3 . When I run
camotics
I get this error in the command line:I have this version of
libstdc++6
package installed: