Boost C++ Libraries: Ticket #152: Can't import hello https://svn.boost.org/trac10/ticket/152 <pre class="wiki">I have given up on boost_1_30_0 and downloaded 1_29_0 instead. The older version compiles without errors. I go to the tutorial directory and try to build the hello demo using bjam -sTOOLS=gcc. I find the hello.so file several subdirectories down but when I try to import hello I get the following message [cobb@mcobb shared-linkable-true]$ python Python 2.2 (#1, Apr 12 2002, 15:29:57) [GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import hello Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in ? ImportError: libboost_python.so.1.29.0: cannot open shared object file: No such file or directory I have copied the missing file everywhere I can think of and set all the Environment variables I can think of and even moved the file to the current directory but python still complains that it can't find it. Any help? Thanks, Mike </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/152 Trac 1.4.3 david_abrahams Thu, 29 May 2003 17:01:42 GMT <link>https://svn.boost.org/trac10/ticket/152#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/152#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=52572 You have to find libboost_python.so.1.29.0 and put its directory in your LD_LIBRARY_PATH. Why did you give up on 1.30.0? It's better than 1.29.0 in almost every respect. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>mlcobb</dc:creator> <pubDate>Thu, 29 May 2003 19:11:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/152#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/152#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=787808 Thanks. The LD_LIBRARY_PATH did the trick. It was not defined at all. I gave up on 1_30_0 because I could not get the pytype_check function to be defined in the boost::python name space. Mike </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>david_abrahams</dc:creator> <pubDate>Thu, 29 May 2003 21:35:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/152#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/152#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=52572 That's very strange. As you can see from http://cci.lbl.gov/boost/results/1048181821/dailylog_linux_gcc 32_test, all tests were passing on GCC/Linux as of the 1.30.0 release date. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>david_abrahams</dc:creator> <pubDate>Wed, 13 Sep 2006 20:50:59 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/152#comment:4 https://svn.boost.org/trac10/ticket/152#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket