[Cython] PyExc_IOError

Michael Abshoff michael.abshoff at googlemail.com
Tue Jan 13 07:40:20 CET 2009


Igor Sylvester wrote:

Hi,

> Yes, the python .so is in my LD path. 

Ok.

> I can import the module from python without changing any environment 
> variables.

Good.

> As the compiler flag reveals, I am building a Matlab extension.  I need 
> some numpy functionality which I don't want to re-code.

You could try to link libpyhthon.a statically.

> Perhaps Matlab uses a different method to dynamically load libraries?

Which release are you using? IIRC at least recent ones can show the 
content of env from within Matlab, so that might give you a clue.

Cheers,

Michael


More information about the Cython-dev mailing list