Boost C++ Libraries: Ticket #5642: Python 3.2 link error ( boost::python::detail::init_module ) https://svn.boost.org/trac10/ticket/5642 <p> When you build (using VS2010 SP1) boost 1_46_1 with python 3.2 and you try to link your program you'll get this error: </p> <p> error LNK2001: unresolved external symbol "<span class="underline">declspec(dllimport) struct _object * </span>cdecl boost::python::detail::init_module(struct <a class="missing wiki">PyModuleDef</a> &amp;,void (<span class="underline">cdecl*)(void))" (</span>imp_?init_module@detail@python@boost@@YAPAU_object@@AAUPyModuleDef@@P6AXXZ@Z) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5642 Trac 1.4.3 Ralf W. Grosse-Kunstleve Sat, 25 Jun 2011 18:45:14 GMT <link>https://svn.boost.org/trac10/ticket/5642#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5642#comment:1</guid> <description> <p> I'm unable to help with this, sorry. I don't use Python 3 and I don't use bjam. Your best bet is to post to the Python C++-SIG. </p> <p> There have been a few fixes since the 1_46_1 release. I suggest you try the 1_47_0 release candidate or the svn trunk before posting to the C++-SIG. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 29 Jun 2011 11:17:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5642#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5642#comment:2</guid> <description> <p> I have this error :( </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ralf W. Grosse-Kunstleve</dc:creator> <pubDate>Wed, 29 Jun 2011 16:44:33 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5642#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5642#comment:3</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/5642#comment:2" title="Comment 2">anonymous</a>: </p> <blockquote class="citation"> <p> I have this error :( </p> </blockquote> <p> This problem will only get resolved if an active Python 3 user contributes a patch. </p> <p> If you need help working out a patch, please post instructions for reproducing the problem to the Python C++-SIG. Please use the boost svn trunk. </p> <p> <a class="ext-link" href="http://mail.python.org/mailman/listinfo/cplusplus-sig"><span class="icon">​</span>http://mail.python.org/mailman/listinfo/cplusplus-sig</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 30 Jun 2011 20:16:57 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5642#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5642#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/5642#comment:3" title="Comment 3">rwgk</a>: </p> <blockquote class="citation"> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/5642#comment:2" title="Comment 2">anonymous</a>: </p> <blockquote class="citation"> <p> I have this error :( </p> </blockquote> <p> This problem will only get resolved if an active Python 3 user contributes a patch. </p> <p> If you need help working out a patch, please post instructions for reproducing the problem to the Python C++-SIG. Please use the boost svn trunk. </p> <p> <a class="ext-link" href="http://mail.python.org/mailman/listinfo/cplusplus-sig"><span class="icon">​</span>http://mail.python.org/mailman/listinfo/cplusplus-sig</a> </p> </blockquote> <p> I tested in boost 1.47 beta 1, therein good :) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ralf W. Grosse-Kunstleve</dc:creator> <pubDate>Thu, 30 Jun 2011 20:24:16 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5642#comment:5 https://svn.boost.org/trac10/ticket/5642#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Good to know. Thanks! Probably the fix was boost svn trunk rev. 67462 checked in 2010-12-26. Closing this issue. </p> Ticket