From owner-freebsd-python@FreeBSD.ORG Sat Mar 16 16:30:01 2013 Return-Path: Delivered-To: freebsd-python@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6533045E for ; Sat, 16 Mar 2013 16:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 571356D1 for ; Sat, 16 Mar 2013 16:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2GGU1xC056741 for ; Sat, 16 Mar 2013 16:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2GGU1fC056740; Sat, 16 Mar 2013 16:30:01 GMT (envelope-from gnats) Date: Sat, 16 Mar 2013 16:30:01 GMT Message-Id: <201303161630.r2GGU1fC056740@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: Geoffrey Mainland Subject: Re: ports/176993: math/py-matplotlib/work does not see installed numpy X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Geoffrey Mainland List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 16:30:01 -0000 The following reply was made to PR ports/176993; it has been noted by GNATS. From: Geoffrey Mainland To: Vladimir Chukharev Cc: bug-followup@freebsd.org, Vladimir.Chukharev@gmail.com, Geoffrey Mainland Subject: Re: ports/176993: math/py-matplotlib/work does not see installed numpy Date: Sat, 16 Mar 2013 16:21:35 +0000 On 03/16/2013 02:04 PM, Vladimir Chukharev wrote: > On Sat, 16 Mar 2013 15:19:10 +0200, Geoffrey Mainland wrote: > >> Hi Vladimir, >> >> If you start the python interpreter and type "import numpy", what >> happens? > > Yeah, that is it. The last line is > ImportError: /usr/local/lib/libalapack.so.2: Undefined symbol "cblas_zswap" > > $ pkg_info -W /usr/local/lib/libalapack.so.2 > /usr/local/lib/libalapack.so.2 was installed by package atlas-3.8.4_2,1 > > So, I will reinstall atlas with the default options now (that's not fast > IIRC...), then matplotlib again, and let you know the results. Hope that works for you. > BTW, can the message be more clear in your port? The message you saw is generated by matplotlib's configuration script. You would do best to contact the matplotlib developers if you think it should be changed as it is something that would need to be modified upstream. I do not think a FreeBSD-only patch is justified. >> I have seen many broken numpy installations. The matplotlib will "see" >> that numpy is installed, but when the configuration runs, numpy can't be >> imported so configuration fails. >> >> Geoff