Help on linking?

Bruce Sherwood <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.