[SciPy-user] no linalg module and failed check_integer test

Robert Kern robert.kern at gmail.com
Tue Feb 27 16:14:15 EST 2007


Jeremy Conlin wrote:
> On 2/27/07, Robert Kern <robert.kern at gmail.com> wrote:
>>> I didn't notice any errors during the installation.  I know this isn't
>>> a lot of information to go on, but does anyone know what the problem
>>> is?
>> Don't bother with pkgload. Just import scipy.linalg.
> 
> I tried that:

> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/flapack.so,
> 2): Symbol not found: ___dso_handle
>   Referenced from:
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/flapack.so
>   Expected in: dynamic lookup
> 
> Sorry.  I don't understand what all of those mean or I would try something.

Then I was wrong: the next error is related. The fact that pkgload() hid this
message is why I suggest not using it.

>>> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so,
>>> 2): Symbol not found: ___dso_handle
>>>   Referenced from:
>>> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so
>>>   Expected in: dynamic lookup
>> No, it's different. Exactly what versions of OS X (version number and Intel or
>> PPC), gcc, gfortran (also where you got it from), Xcode do you have installed?
>> You might need to install the latest version of cctools from here (AFAIK, the
>> best place to get it):
>>
>>   ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-590.36.dmg
>>
>> That said, I've never installed it on my MacBook, and I've never had this problem.
>>
> I have the latest version of Xcode installed.  I am running on a
> MacBook Pro with the latest OS X version.  I am running gcc version
> 4.0.1 and gfortran version 4.3.0.  I got gfortran by following the
> instructions on the install scipy page for Mac OS X; it links to this
> package:
> http://prdownloads.sourceforge.net/hpc/gfortran-intel-bin.tar.gz?download

When did you install gfortran? Gaurav Khanna has the unfortunate habit of
uploading new builds without changing the filename.

Try installing the cctools package I gave and rebuilding scipy.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco



More information about the SciPy-User mailing list