[issue4434] Embedding into a shared library fails

Amaury Forgeot d'Arc report at bugs.python.org
Fri Sep 25 10:39:55 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Does it help if you add the --whole-archive option when linking with the
static library? As explained there:
http://www.lysium.de/blog/index.php?/archives/222-Lost-static-objects-in-static-libraries-with-GNU-linker-ld.html
This way your main program will contain the whole python interpreter,
and all symbols used by time.so &co will be resolved.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4434>
_______________________________________


More information about the Python-bugs-list mailing list