From: Bruce S. <Bru...@nc...> - 2010-12-27 05:17:35
|
I'm trying to build Visual on Ubuntu (10.10) for Python 3.1, where the standard Python is Python 2.6, and the Boost 1.42 libraries are installed for this version of Python. I've built the Boost 1.43 libraries for Python 3.1 and placed in my own space the Boost folder of include files and, in a folder beside the include files, the boost_python, boost_signals, and boost_thread libraries. I altered the make file to specify linking these libraries from my own directory rather than from the standard locations, as follows: ld ..... --library-path=mylibs -lboost_python -lboost_signals -lboost_thread .... What happens when I build looks like I'm linking against the Ubuntu-installed libraries for Python 2.6, because when I try to run Visual, I get an import error referring to /usr/lib/libboost_python-py2.6.so.1.42.0, which is of course missing a needed symbol. Can anyone shed any light on this? Thanks. Bruce Sherwood |