[Numpy-discussion] library linking during numpy build

David Cournapeau david at ar.media.kyoto-u.ac.jp
Tue Nov 4 12:07:28 EST 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