Opened 19 years ago
Closed 16 years ago
#152 closed Support Requests (Out of Date)
Can't import hello
Reported by: | mlcobb | Owned by: | david_abrahams |
---|---|---|---|
Milestone: | Component: | python USE GITHUB | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
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. >>> import hello Traceback (most recent call last): File "<stdin>", 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
Change History (4)
comment:2 by , 19 years ago
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
comment:3 by , 19 years ago
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.
comment:4 by , 16 years ago
Status: | assigned → closed |
---|
Note:
See TracTickets
for help on using tickets.