[SciPy-user] import failure using g77
Jeffrey B. Layton
laytonjb at bellsouth.net
Sat Oct 19 19:38:24 EDT 2002
Pearu Peterson wrote:
>On Sat, 19 Oct 2002, Jeffrey B. Layton wrote:
>
>
>
>>I didn't update, I erased scipy and got a fresh new copy of SciPy.
>>I rebuilt Numeric and scipy. I got this error this time,
>>
>>[laytonj at home3 laytonj]$ /usr/bin/python2.2
>>Python 2.2 (#1, Apr 12 2002, 15:29:57)
>>[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
>>Type "help", "copyright", "credits" or "license" for more information.
>> >>> import Numeric
>> >>> import scipy
>>exceptions.ImportError:
>>/usr/lib/python2.2/site-packages/scipy/linalg/_flinalg.so: undefined
>>symbol: f_iob
>>
>>
> ^^^^^
>
>This symbol comes from Intel compiler libraries. When building scipy, make
>sure that Intel compiler is used nowhere. To be sure, you can rename the
>/path/to/intel/compiler.
>
No joy. I move /opt/intel to /opt/intel_old. I then erased (rm -rf)
Numeric, f2py,
and scipy from their source directories and from
/usr/lib/python2.2/site-packages.
I then downloaded everything fresh again and rebuilt everything (makine sure
that g77 was being used). When I did 'import scipy' I got the exact same
errors:
[laytonj at home3 laytonj]$ /usr/bin/python2.2
Python 2.2 (#1, Apr 12 2002, 15:29:57)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Numeric
>>> import scipy
exceptions.ImportError:
/usr/lib/python2.2/site-packages/scipy/linalg/_flinalg.so: undefined
symbol: f_iob
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/site-packages/scipy/__init__.py", line 49, in ?
import special, io, linalg, stats, fftpack
File "/usr/lib/python2.2/site-packages/scipy/linalg/__init__.py", line
42, in ?
from basic import *
File "/usr/lib/python2.2/site-packages/scipy/linalg/basic.py", line
17, in ?
import calc_lwork
ImportError:
/usr/lib/python2.2/site-packages/scipy/linalg/calc_lwork.so: undefined
symbol: f_cpystr
Did I miss something in erasing the packages from python-2.2?
I erased f2py2e, FFT, gui_thread, MA, Numeric, PropertiedClasses,
RNG, scipy, scipy_base, scipy_distutils, scipy_test, weave,
Numeric.pth.
I think my next step is to rebuild ATLAS and LAPACK and
reinstall them as well.
Thanks!
Jeff
>
>Pearu
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>
>
>
More information about the SciPy-User
mailing list