[SciPy-dev] scipy-0.2 -- maybe mid next week

eric eric at scipy.org
Sun Apr 7 17:45:04 CDT 2002

Hmmm.  I see.  Getting bit by shared libraries.

Looking at system_info's output, I get:

[eric at enthoughtaus1 scipy_distutils]$ python system_info.py
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib', '/home/eric/lib/atlas']

because there is a liblapack.a (and .so) in /usr/lib I'm guessing.  My atlas
installation and my Python installation are local to my user directory.  If a
user library (or one on the Python prefix path) is found, shouldn't it come
first in the library_dirs list?  This would give preference to user installed
libraries.  I guess site.cfg is another method of doing this, but I think giving
preference to user installed libraries by default is the way to go.

After making the change to system_info.py, I get

[eric at enthoughtaus1 scipy_distutils]$ python system_info.py
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/home/eric/lib/atlas', '/home/eric/lib/atlas']

This solves the problem of the .so libraries.  Now I've learned my altas libs
are old on this machine and need to be updated... so I'll fix that and try

thanks for your help,


----- Original Message -----
From: "A.J. Rossini" <rossini at blindglobe.net>
To: <scipy-dev at scipy.org>
Sent: Sunday, April 07, 2002 6:27 PM
Subject: Re: [SciPy-dev] scipy-0.2 -- maybe mid next week

> >>>>> "eric" == eric  <eric at scipy.org> writes:
>     eric> From: <pearu at scipy.org>
>     eric> I do have one problem though:
>     >>>> import clapack
>     eric> Traceback (most recent call last):
>     eric>   File "<stdin>", line 1, in ?
>     eric> ImportError: ./clapack.so: undefined symbol: clapack_sgesv
>     eric> This makes no sense because I checked my liblapack.a, and the symbol
is defined.
>     eric> Anyone else seen this?  Removing clapack.so gets everything to work
>     eric> Anyway, I'll try to track it down.
> I sometimes see this when I'm linking with LD_LIBRARY_PATH set during
> compile, to include /usr/lib/atlas, but it isn't set at the shell level.
> --
> A.J. Rossini Rsrch. Asst. Prof. of Biostatistics
> U. of Washington Biostatistics rossini at u.washington.edu
> FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org
> -------------- http://software.biostat.washington.edu/ ----------------
> FHCRC: M-W: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
> UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
> (my friday location is usually completely unpredictable.)
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev

More information about the Scipy-dev mailing list