https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203638

            Bug ID: 203638
           Summary: math/py-numpy: Undefined symbol "cblas_sgemm"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pyt...@freebsd.org
          Reporter: pch-freebsd-b...@u-1.phicoh.com
          Assignee: pyt...@freebsd.org
             Flags: maintainer-feedback?(pyt...@freebsd.org)

numpy version py27-numpy-1.10.0,1 on FreeBSD 10.2. Configured with NETLIB as
the BLAS library

>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 180, in
<module>
    from . import add_newdocs
  File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13,
in <module>
    from numpy.lib import add_newdoc
  File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8,
in <module>
    from .type_check import *
  File "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", line
11, in <module>
    import numpy.core.numeric as _nx
  File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", line
14, in <module>
    from . import multiarray
ImportError: /usr/local/lib/python2.7/site-packages/numpy/core/multiarray.so:
Undefined symbol "cblas_sgemm"

The cause seems to be that numpy links with blas, but uses symbols from cblas.
Getting numpy to link with cblas solves the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to