|
Boost Users : |
Subject: [Boost-users] undefined symbol: PyUnicodeUCS4_FromEncodedObject
From: Dylan Dandelion (dylan.dandelion_at_[hidden])
Date: 2012-04-27 22:19:44
Is there a way to specify boost.python to be built with UCS2 instead of
USC4? I am trying to build some libraries and ran into the following error:
ImportError: /home/user/boost_1_49_0/stage/lib/libboost_python.so.1.49.0:
undefined symbol: PyUnicodeUCS4_FromEncodedObject
I am using a version of Python that seems to use only UCS2.
# python
Python 2.7.2 (default, Aug 24 2011, 22:13:27)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.maxunicode
65535
>From what I searched online so far, there are some suggestions to recompile
Python with some flags to use UCS4, but that is not possible for me.
Thanks!
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net