[SciPy-user] installing numeric, newbie

Pearu Peterson pearu at cens.ioc.ee
Thu Sep 16 08:37:42 CDT 2004

On Thu, 16 Sep 2004, Darren  Dale wrote:

> liblapack.a, libcblas.a,libatlas.a and libf77blas,a live in /usr/lib.
> cblas.h and clapack.h are in /usr/include, and libg2c.a is in
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4
> I tried "export LD_LIBRARY_PATH=/usr/lib" at the command line, and
> /sbin/ldconfig. The right directories are being flagged -L during the
> build, but the problem persists. Here is the relevent part of setup.py:
> library_dirs_list = ['/usr/lib','/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4']

There is no need to specify /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4
when using gcc as a linker.

> #fails when = ['/usr/lib'] too
> libraries_list = ['liblapack', 'libcblas', 'libf77blas', 'libatlas',
> 'libg2c']

That should read

libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']

> use_dotblas = 1
> include_dirs = ['/usr/include']
> Slightly off topic, LD_LIBRARY_PATH did not exist, should I add it to
> /etc/profile?

You can put it shouldn't be necessary when linking against static


More information about the SciPy-user mailing list