Problem with JDH Ubuntu packages

I did a fresh install on a new computer this week, and installed JDH's
Ubuntu packages from uchicago, and got the following error upon "from
pylab import *":

  File "/usr/lib/python2.4/site-packages/numpy/linalg/__init__.py",
line 4, in ? from linalg import *
  File "/home/jdhunter/debs/numpy/usr/lib/python2.4/site-packages/numpy/linalg/linalg.py",
line 16, in ?
ImportError: liblapack.so.2: cannot open shared object file: No such
file or directory

I do, however, have liblapack.so.3 available in /usr/lib. I tried
uninstalling and installing python-matplotlib-jdh and python-scipy
(because that had solved a different installation problem before) in
different orders, but no luck. So, I symlinked liblapack.so.3 to
liblapack.so.2, and then had to do the same to:
libatlas.so.3
libcblas.so.3
libf77blas.so.3

And "from pylab import *" works fine, and plotting seems to work fine.
However, it seems like unless version three of these libraries are
100% compatible, that this is problematic.

This is on a fresh install, and I'm not smart enough to figure out
anything else substantive, but wanted to let Matplotlib
maintainers/etc. know.

-Chris

Chris,

Christopher Mutel wrote:

ImportError: liblapack.so.2: cannot open shared object file: No such
file or directory

All the lapack stuff is linked to what you are using for Numerix: Numeric, numarray or NumPy, rather than directly by MPL. It looks like you may have upgraded your atlas install, and not upgraded your numerix package with it. Or you're installed a Numerix binary package that depends on an older lapack.

Your kludge may only be working because you haven't actually called any lapack functions yet, it's not used by the basic numerix stuff, only linear algebra stuff.

Anyway, I'd decide what Numerix package you want to use, and then make sure that's installed correctly.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

All the lapack stuff is linked to what you are using for Numerix: Numeric, numarray or NumPy, rather than directly by MPL. It looks like you may have upgraded your atlas install, and not upgraded your numerix package with it. Or you're installed a Numerix binary package that depends on an older lapack.

I have the same problem : with Numeric or numarray and matplotlib-0.82 (from ubuntu) there is no problem but when I remove matplotlib-0.82 and install numpy-0.92-jdh and matplotlib-0.86-cvs-jdh, I have the same error (with numerix : numpy in my .matplotlibrc). I don't change anything else/

A question : why mpl is looking at "/home/jdhunter/debs/numpy/usr/[..]" ?

Jean-Luc