importing shared library on SGI

Curtis Jensen cjensen at bioeng.ucsd.edu
Tue Jul 11 22:03:33 EDT 2000


Fred Clare wrote:
> 
> I am running python on an SGI IRIX 6.5 system.  I
> have created a shared library (adder.so) that implements
> a C extension and when I do an import in Python I get the error:
> 
>    ImportError: 3907647:python: rld: Fatal Error: Cannot
>    Successfully map soname './adder.so' under any of the
>    filenames ./adder.so
> 
> When I do exactly the same thing on a Sun, it works fine.
> 
> Any ideas?
> 
> --
> Fred Clare
> fred at ucar.edu



I have had similar problems on the same system.  I found that you have
to make sure that the .so compiled with the same bite code as python. 
You can use the "file" unix command to find out what the bite code is
for a binary.



-- 
Curtis Jensen
cjensen at bioeng.ucsd.edu
http://www-bioeng.ucsd.edu/~cjensen/
FAX (425) 740-1451



More information about the Python-list mailing list