From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-08-11 14:11:23
----- Original Message -----
From: "elvis" <wankuang_at_[hidden]>
Sent: Saturday, August 11, 2001 2:28 PM
Subject: [boost] How to use boost.python
> I am sorry for this dumb question. But I cannot figure out how to use
> the libary. I copied the linux_gcc.mak in /build directory to build
> libboostpython.a and several other test programs, is it right? But the
> shared libary generated cannot be loaded in python, saying
> >>> import getting_started1
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: ./getting_started1.so: undefined symbol:
> What's wrong? Do I need to have -lboostpython swith for linker? It is
> not in the makefile.
That looks like your linker is having a problem finding its built-in runtime
support libraries. The symbol it's searching for is almost certainly part of
the compiler's internal exception-handling support. I don't think your
problem has anything to do with Boost.Python per se.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk