Igor Sylvester wrote: > I built it against *Python 2.5.1. > > compile:* > gcc -c > -I/usr/lib/python2.5/site-packages/numpy-1.0.4.0002-py2.5-linux-x86_64.egg/numpy/core/include > > -I/usr/bin/python/2.5.1/include/python2.5 -fPIC -fno-omit-frame-pointer > -pthread -fexceptions -ansi -D_GNU_SOURCE -DMX_COMPAT_32 -g main.c > > compile line for the other c-file is identical to main.c's > > *link:* > gcc -g -pthread -shared main.o module.o -L/usr/bin/python/2.5.1/lib > *-lpython2.5* -ldl -lm -lpthread -lutil -lmx -lmex -lmat -lm -lm -lstdc++ >
Ok, so far so good. Is /usr/bin/python/2.5.1/lib in LD_LIBRARY_PATH ? Out of curiosity: Are you building something against matlab, i.e. are you linking against MATLAB's mex? Cheers, Michael <SNIP> _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
