[C++-sig] Re: undefined symbol "typeinfo for boost::python::instance_holder " under Linux/RH9

David Abrahams dave at boost-consulting.com
Wed Sep 3 14:54:21 CEST 2003

"Langston, Matthew David" <langston at SLAC.Stanford.EDU> writes:

> Hi Dave,
> Under Linux I simply did a bjam "-sTOOLS=gcc", which created
> boost/libs/python/build/bin-stage/libboost_python.a
> which bjam appears to have copied (based on file sizes) from
> boost/libs/python/build/bin/libboost_python.a/gcc/release/runtime-link-dynamic/libboost_python.a
> So, I assume bjam built everything properly. What else to try? Are you
> saying that statically linking to libboost_python.a on linux/gcc
> should work? 

Yes, it should work.

> I am using boost 1.30.0, so would upgrading to 1.30.2
> maybe help?

Yes, perhaps, though your problem has the flavor of a compiler/linker bug.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list