Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r2996:2f3c1c595e96
Date: 2017-07-21 17:35 +0200
http://bitbucket.org/cffi/cffi/changeset/2f3c1c595e96/

Log:    Mention the embedding problem on Debian that was discussed in issue
        #264.

diff --git a/doc/source/embedding.rst b/doc/source/embedding.rst
--- a/doc/source/embedding.rst
+++ b/doc/source/embedding.rst
@@ -359,6 +359,15 @@
   -Wl,-rpath=\$ORIGIN``.  From a Makefile, you need to say
   something like ``gcc -Wl,-rpath=\$$ORIGIN``.
 
+* On some Linux distributions, notably Debian, the ``.so`` files of
+  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`__.
+
+.. __: https://bitbucket.org/cffi/cffi/issues/264/
+
 
 Using multiple CFFI-made DLLs
 -----------------------------
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to