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

Member Site Forums PyRosetta PyRosetta – General undefined symbol: PyUnicodeUCS4_FromEncodedObject (from libboost_python-mt-py26.so.1.38.0)

Viewing 1 reply thread
  • Author
    Posts
    • #646
      Anonymous

        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

      • #4551
        Anonymous

          > 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

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.