Got it! I searched spotlight for "libboost_python-xgcc40-d-1_38.dylib" and moved it into the same directory as extending.so and now I can import it just fine. Thank you so much!!
But hasn't it already successfully compiled? The location of boost shouldn't matter at this point.On Tue, Feb 24, 2009 at 9:22 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
Z. S. O. wrote:
I believe that the location of the boostHmm, I've made some progress but not quite there. If you cd to the directory with extending.so and bring up the python interpreter, typing "from extending import *" leads to the following:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(./extending.so, 2): Library not loaded: libboost_python-xgcc40-d-1_38.dylib
Referenced from: /Users/Admin/Desktop/boost_1_38_0/libs/python/example/quickstart/bin/darwin-4.0.1/debug/extending.so
Reason: image not found
Very sorry for prolonging this thread, I really appreciate the help so far.
python library needs to be in DYLD_LIBRARY_PATH.
In Christ,
Steven Watanabe
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users