[C++-sig] Preview of Boost.Python V2 problems
Arnaldur Gylfason
arnaldur at decode.is
Wed Feb 6 12:49:28 CET 2002
I tried importing 1 of the test modules and got the following error:
>>> import m1
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError:
../../libs/python/bin/bpl/gcc/debug-python/runtime-link-dynamic/shared-linkable-true/bpl.so:
undefined symbol: _Py_RefTotal
Another thing, the modules specify a relative path to bpl.so.
When importing e.g. m1, it can't find bpl.so unlessit it is in
[prefix]/libs/python since it always looks for
../../libs/python/bin/bpl/gcc/debug-python/runtime-link-dynamic/shared-linkable-true/bpl.so
(I tried i)using -Wl,-rpath,dir , ii) specifying LD_LIBRARY_PATH , but to
no avail)
jam should be able to figure out the absolute path so couldn't it specify
an absolute path to the shared library file?
cheers
Arnaldur
More information about the Cplusplus-sig
mailing list