Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: your program works for me. How did you compile the files? I used the following commands:
$ gcc -fPIC -I/usr/local/include/python2.6/ mylib.c -L /usr/local/lib -lpython2.6 --shared -o mylib.so $ gcc main.c -ldl $ ./a.out test (after removing all references to exim4, which is not really used) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com