On Wed, 2005-08-17 at 09:52 +0200, "Martin v. Löwis" wrote: > Simon Newton wrote: > > gcc main.c -c -I-I/usr/include -I/usr/include -I/usr/include/python2.4 > > -I/usr/include/python2.4 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes > > gcc main.o -L/usr/lib -lpthread -ldl -lutil > > -lm /usr/lib/python2.4/config/libpython2.4.a -o main > > No. You need to export the Python symbols from your executable to > extension modules. IOW, you need to pass > > -Xlinker -export-dynamic > > to the gcc invocation.
Thanks Martin, -export-dynamic fixed it. Simon -- http://mail.python.org/mailman/listinfo/python-list