Boost C++ Libraries: Ticket #3930: More flexible dynamic linking for python module on OS X https://svn.boost.org/trac10/ticket/3930 <p> See <a class="ext-link" href="http://trac.mapnik.org/ticket/453/"><span class="icon">​</span>http://trac.mapnik.org/ticket/453/</a>. </p> <p> 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. </p> <pre class="wiki">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&lt;std::basic_string&lt;wchar_t, std::char_traits&lt;wchar_t&gt;, std::allocator&lt;wchar_t&gt; &gt;, boost::python::converter::(anonymous namespace)::wstring_rvalue_from_python&gt;::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 </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3930 Trac 1.4.3 René Rivera Sun, 14 Feb 2010 14:51:42 GMT milestone changed https://svn.boost.org/trac10/ticket/3930#comment:1 https://svn.boost.org/trac10/ticket/3930#comment:1 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> I don't see any patches attached to this ticket. And following that link gives an error. Please provide the patches here, as otherwise it makes it way harder to fix your problem. </p> Ticket anonymous Sat, 10 Apr 2010 08:11:27 GMT <link>https://svn.boost.org/trac10/ticket/3930#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3930#comment:3</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3930#comment:1" title="Comment 1">grafik</a>: </p> <blockquote class="citation"> <p> I don't see any patches attached to this ticket. And following that link gives an error. Please provide the patches here, as otherwise it makes it way harder to fix your problem. </p> </blockquote> <p> Is anyone going to reply? I do not see any patch either, and this comment is 8 weeks old. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Cyrus Omar</dc:creator> <pubDate>Tue, 20 Apr 2010 10:29:23 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3930#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3930#comment:4</guid> <description> <p> <a class="ext-link" href="http://trac.mapnik.org/ticket/453"><span class="icon">​</span>http://trac.mapnik.org/ticket/453</a> </p> </description> <category>Ticket</category> </item> <item> <author>boost.calin79@…</author> <pubDate>Wed, 13 Mar 2013 00:39:16 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/3930 https://svn.boost.org/trac10/ticket/3930 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_python_jam.patch</span> </li> </ul> <p> Patch to make building against UCS4 python on OSX work </p> Ticket boost.calin79@… Wed, 13 Mar 2013 00:48:12 GMT <link>https://svn.boost.org/trac10/ticket/3930#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3930#comment:5</guid> <description> <p> I added the patch the previous user was referencing, as this is still an issue, if you are trying to build against a UCS4 build of python on OSX... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 29 Jul 2013 15:32:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3930#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3930#comment:6</guid> <description> <p> Big +1 to this patch. I've been using it for years now without any issues. </p> </description> <category>Ticket</category> </item> </channel> </rss>