[C++-sig] linker problems with boost.build and C++ embedding

Daniel Holth dholth at fastmail.fm
Sun Mar 20 01:37:56 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In gentoo Linux I have edited my code, but have not subtracted from the
linker options at all, now a module imported into my embedded Python
environment cannot find symbols from the Python library.

ImportError: /usr/lib/python2.3/site-packages/_mysql.so: undefined
symbol: PyType_GenericNew

I have no idea why this is happening, I just know I've had the same
problem with dynamic shared objects before. Can anyone here tell me what
the issue might be? It was importing just fine, and then I added another
static library and edited some code, now my embedded Python code can't
import.

Thanks,

Daniel Holth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCPMXkVh4W2pVfoMsRAtWQAJ9qKQmMi77RREZKuzrAwsg0juqIDQCg8OI+
yfl6aFVPOidpxQALAD8YGrk=
=oLJq
-----END PGP SIGNATURE-----



More information about the Cplusplus-sig mailing list