Author: Armin Rigo <ar...@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/
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to