Re: [C++-sig] Using boost.python with Makefile (no bjam)

2010-10-06 Thread Philipp Münzel
I added -lpython2.6 to the linker command, but I didn't change anything. Obviously, the missing symbols are boost symbols and not python symbols, since their names _ZN5boost6python6detail11init_moduleEPKcPFvvE clearly refer boost. I built boost_python with the following command: sudo ./bjam insta

Re: [C++-sig] Using boost.python with Makefile (no bjam)

2010-10-06 Thread Charles Solar
You need to link with libpython as well. libpython should resolve these. On Wed, Oct 6, 2010 at 5:43 AM, Philipp Münzel wrote: > Oh crap, the command that links is of course: > > $ g++ -shared -Wl,-soname,"libhello.so" -L/usr/local/lib -lboost_python > -o libhello.so hello.o > > But I get the un