My problem was the following:
Code: Select all
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory1.) Firstly, we need to figure out what version your running of gcc right now and what you want to upgrade to. If you already know for certain you may skip to step 2.
Code: Select all
find /usr/lib/ -name libstdc*aYou should get an output like the following:
Code: Select all
dragon / # find /usr/lib/ -name libstdc*a
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.a
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++_pic.a2.) Edit your /etc/ld.so.conf with your desired editor (Personally i used nano but the choice is yours.) and change the line containing /usr/lib/gcc/ to the version we found above (3.4.4 in this case). Such as the example below:
Code: Select all
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/i686-pc-linux-gnu/lib
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4
/usr/lib/libstdc++-v3/Code: Select all
ldconfig -vCode: Select all
dragon / # gcc-config -l
[1] i386-pc-linux-gnu-3.3.5
[2] i386-pc-linux-gnu-3.3.5-hardened
[3] i386-pc-linux-gnu-3.3.5-hardenednopie
[4] i386-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.4
[6] i686-pc-linux-gnu-3.4.4-hardened
[7] i686-pc-linux-gnu-3.4.4-hardenednopie
[8] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[9] i686-pc-linux-gnu-3.4.4-hardenednosspCode: Select all
gcc-config 5 (Or whichever is the latest && source /etc/profile && fix_libtool_files.sh 3.4.4 (or whatever the safe version was)Code: Select all
env-updateThanks fly out to kloeri for his help with this problem!
EDIT: Sorry folks, i messed the version numbers up =$ Fixed now! =)






