STINNER Victor added the comment: Ah yes, try "gcc -shared nobuffer.c -o libnobuffer.so -fPIC". ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22443> _______________________________________