[pypy-commit] cffi default: Close #264
arigo
pypy.commits at gmail.com
Tue Oct 2 04:05:41 EDT 2018
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r3166:8ebfcc176be2
Date: 2018-10-02 10:05 +0200
http://bitbucket.org/cffi/cffi/changeset/8ebfcc176be2/
Log: Close #264
diff --git a/doc/source/embedding.rst b/doc/source/embedding.rst
--- a/doc/source/embedding.rst
+++ b/doc/source/embedding.rst
@@ -375,8 +375,10 @@
CPython C extension modules may be compiled without saying that they
depend on ``libpythonX.Y.so``. This makes such Python systems
unsuitable for embedding if the embedder uses ``dlopen(...,
- RTLD_LOCAL)``. You get the error ``undefined symbol:
- PyExc_SystemError``. See `issue #264`__.
+ RTLD_LOCAL)``. You get an ``undefined symbol`` error. See
+ `issue #264`__. A workaround is to first call
+ ``dlopen("/path/to/libpythonX.Y.so", RTLD_GLOBAL)``, which will
+ force ``libpythonX.Y.so`` to be loaded first.
.. __: https://bitbucket.org/cffi/cffi/issues/264/
More information about the pypy-commit
mailing list