Boost logo

Boost :

From: nathanoj_at_[hidden]
Date: 2001-08-06 10:28:56


Switching the order fixed the problem.

THANK YOU VERY MUCH!!!

Jonathan Hudson

--- In boost_at_y..., rwgk_at_y... wrote:
> --- In boost_at_y..., "No Name" <nathanoj_at_m...> wrote:
> > When I try linking using libboost_python.a
> > rather than the object files, I get an ImportError:
> > undefined symbol.
> >
> > >>g++ -I/home/Jon/boost_1_23_0 -I/usr/local/include/python2.1 -
> fPIC -ftemplate-depth-21 -g -c getting_started2.cpp
> > >>g++ -shared libboost_python.a getting_started2.o -o
> getting_started2.so
>
> It could be important to list the library *after* your object
> files, e.g.:
>
> g++ -shared getting_started2.o libboost_python.a -o
> getting_started2.so
>
> Ralf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk