[Numpy-discussion] library linking during numpy build

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Nov 4 11:07:28 CST 2008


Frank Lagor wrote:
> Hi Everyone,
>
> I previously had a problem with installing numpy on a cluster of mine,
> but it seemed to be resolved. The installation was successful and the
> numpy code ran well.  Unfortunately, this was not the case when I
> tried to run parallel code.  The other processors have difficulty
> finding a particular library file, libg2c.so.0.
> I get the following error:
> ImportError: libg2c.so.0: cannot open shared object file: No such file
> or directory

libg2c.so is part of the g77 compiler, normally. You need to install it
on every machine if you build numpy/scipy with g77 (g2c is part of the
fortran runtime),

cheers,

David


More information about the Numpy-discussion mailing list