Member Site › Forums › PyRosetta › PyRosetta – Build/Install › GLIBCXX_3.4.9 Not found – libmini.so › Reply To: GLIBCXX_3.4.9 Not found – libmini.so
> > The version of libstdc++ is older than the rosetta libmini.so needs. Is there a way to get the source code to recompile the rosetta software with my installed libraries or is there another way? I’m running Red Hat Enterprise Client 5.4 %%%
> > %%%
> > Python 2.6.4 (r264:75706, Mar 8 2010, 21:01:17) %%%
> > [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2%%%
> > Type “help”, “copyright”, “credits” or “license” for more information.%%%
> > >>> from rosetta import *%%%
> > [[…]%%%
> > ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9′ not found (required by rosetta/libmini.so)%%%
> > [[…]%%%
> %%%
> In case you have this issue not solved yet:%%%
> %%%
> You need to compile python 2.6 with GCC >= 4.2.0 (I suggest gcc-4.3.2).%%%
> Then prepend the path to the new compiled python to $PATH and here you go.%%%
I did this (compiled Python with gcc 4.4.4) and it just lead to the next error:
bash-3.2$ /usr/struct/bin/python-2.6Python 2.6.2 (r262:71600, Aug 4 2010, 14:04:02)
[[GCC 4.4.4] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> from rosetta import *
Traceback (most recent call last):
File “”, line 1, in
File “/struct/software/linux/pyrosetta-1.1/rosetta/__init__.py”, line 14, in
import utility, core
File “/struct/software/linux/pyrosetta-1.1/rosetta/utility/__init__.py”, line 1, in
from _rosetta_utility_000 import *
ImportError: /struct/software/linux/pyrosetta-1.1/rosetta/libboost_python-mt-py26.so.1.38.0: undefined symbol: PyUnicodeUCS4_FromEncodedObject
>>>
I’ll open a separate thread for this problem.
frank