FreeBSD Port: py24-numpy-1.0r1

Kael Fischer kael.fischer at gmail.com
Thu Nov 30 15:29:56 PST 2006


Hi Tony-

I've got some reports for you about the numpy port.

On i386 6.1-RELEASE (130kB build log on request) the port builds and
installs.  There are python Warnings generated to the effect that
libalapack_r.so is not > 4000k (its ~3500k), and I am refered to
numpy/INSTALL.txt to read KNOW PROBLEMS, but that file does not exist in any
of the numpy distributions I have seen.  At runtime this is generated:

Python 2.4.3 (#2, Nov 30 2006, 17:35:31)
[GCC 3.4.4 [FreeBSD] 20050518] on freebsd6
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/numpy/__init__.py", line 40,
in ?
    import linalg
  File "/usr/local/lib/python2.4/site-packages/numpy/linalg/__init__.py",
line 4, in ?
    from linalg import *
  File "/usr/local/lib/python2.4/site-packages/numpy/linalg/linalg.py", line
25, in ?
    from numpy.linalg import lapack_lite
ImportError: /usr/local/lib/libalapack_r.so.1: Undefined symbol
"cblas_dswap"
>>>

On AMD64 6.0-RELEASE, the port builds and installs.  At run time this is
what you get:
Python 2.4.3 (#2, Nov 29 2006, 14:57:08)
[GCC 3.4.4 [FreeBSD] 20050518] on freebsd6
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/numpy/__init__.py", line 36,
in ?
    import core
  File "/usr/local/lib/python2.4/site-packages/numpy/core/__init__.py", line
6, in ?
    import umath
ImportError: /usr/local/lib/python2.4/site-packages/numpy/core/umath.so:
Undefined symbol "ldexpf"
>>>

ldd reports that umath.so is linked to libm, but oddly it does not have
ldexpf!  Obviously an operating system problem, but I thought you might be
interested.

Regards,
Kael




-- 
Kael Fischer, Ph.D
DeRisi Lab - Univ. Of California San Francisco


More information about the freebsd-ports mailing list