Subject: [Boost-bugs] [Boost C++ Libraries] #3930: More flexible dynamic linking for python module on OS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-14 14:38:03
#3930: More flexible dynamic linking for python module on OS X
--------------------------+-------------------------------------------------
Reporter: Cyrus Omar | Owner: dave
Type: Patches | Status: new
Milestone: Boost 1.43.0 | Component: Python
Version: Boost 1.42.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
See http://trac.mapnik.org/ticket/453/.
Without these patches to python.jam and darwin.jam, boost.python refused
to build with the following error for me on OS X 10.6 (Snow Leopard), even
when I set my path to use a version of Python (from Sage) which was
compiled with UCS4. With these changes, you can build against both system
Python (UCS2) and Sage Python (UCS4). This should probably be incorporated
directly into boost, it took me several hours of headaches to figure this
out.
{{{
Undefined symbols:
"_PyUnicodeUCS4_FromEncodedObject", referenced from:
_encode_string_unaryfunc in builtin_converters.o
"_PyUnicodeUCS4_AsWideChar", referenced from:
boost::python::converter::(anonymous
namespace)::slot_rvalue_from_python<std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >,
boost::python::converter::(anonymous
namespace)::wstring_rvalue_from_python>::construct(_object*,
boost::python::converter::rvalue_from_python_stage1_data*)in
builtin_converters.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3930> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC