You are here

undefined symbol: PyUnicodeUCS4_FromEncodedObject (from libboost_python-mt-py26.so.1.38.0)

2 posts / 0 new
Last post
undefined symbol: PyUnicodeUCS4_FromEncodedObject (from libboost_python-mt-py26.so.1.38.0)
#1

Hi,

according to thread [http://www.rosettacommons.org/node/1815Not found - libmini.so] I recompiled Python with gcc 4.4.4. When importing rosetta, I get the following error:

%%%

bash-3.2$ /usr/struct/bin/python-2.6
Python 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
>>>

%%%

Does anybody have an idea how this can be fixed?

frank

Thu, 2010-08-05 05:02
embl-structures

> ImportError: /struct/software/linux/pyrosetta-1.1/rosetta/libboost_python-mt-py26.so.1.38.0: undefined symbol: PyUnicodeUCS4_FromEncodedObject %%%

%%%

__SOLVED__:

A similar error for 32bit Python and UCS2
is reported in [http://www.rosettacommons.org/node/1795PyUnicodeUCS2]. According to the hint given there I configured Python 2.6 with "--enable-unicode=ucs4" and recompiled.

No error messages any more now.

frank

Thu, 2010-08-05 05:30
embl-structures