From owner-freebsd-python@FreeBSD.ORG Sat May 23 01:57:11 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79A964E8 for ; Sat, 23 May 2015 01:57:11 +0000 (UTC) Received: from dd16522.kasserver.com (dd16522.kasserver.com [85.13.137.124]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E05A1B9F for ; Sat, 23 May 2015 01:57:11 +0000 (UTC) Received: from mx12.chaot.net (82.131.85.156.cable.starman.ee [82.131.85.156]) by dd16522.kasserver.com (Postfix) with ESMTPSA id 548E5456085 for ; Sat, 23 May 2015 03:57:07 +0200 (CEST) Received: from mx12.chaot.net (localhost [127.0.0.1]); by mx12.chaot.net (OpenSMTPD) with ESMTP id 50fbe92c; for ; Sat, 23 May 2015 04:57:06 +0300 (EEST) Message-ID: <555FDE72.4010303@FreeBSD.org> Date: Sat, 23 May 2015 04:57:06 +0300 From: Johannes Jost Meixner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python@FreeBSD.org Subject: ipython / numpy / scipy weirdness Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 01:57:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Trying my hand at Data SCIENCE (tm) with a combination of ipython notebooks and numpy/scipy, I seem to have stumbled upon weirdness we already considered fixed: ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found Supposedly, we have a commit to show for fixing it in https://svnweb.freebsd.org/ports?view=revision&revision=369447, and yet... I can't get numpy nor scipy to work *without* the following: xmj@mx12:~/repos/ports-wip/math/py-numpy$ svn diff Index: Makefile =================================================================== - --- Makefile (revision 384548) +++ Makefile (working copy) @@ -20,7 +20,7 @@ USES= fortran python USE_PYTHON= concurrent distutils py3kplist - -LDFLAGS+= -shared +LDFLAGS+= -shared -Wl,-rpath='/usr/local/lib/gcc48' OPTIONS_DEFINE= DOCS SUITESPARSE TESTS OPTIONS_SINGLE= BLASLIB The fix for science/py-scipy is analogous. Can someone reproduce this issue, and the fix for it? All you need to do is: - - install ipython, numpy and scipy % ipython notebook (new site opens in a browser) create a notebook write into it, 'import numpy' write into it, 'import scipy run the notebook (hit the 'play' button) Cheers, - -j - -- Johannes Meixner | FreeBSD Committer xmj@FreeBSD.org | http://people.freebsd.org/~xmj -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVX95tAAoJEPyeKTcbGw0Li7MH/2V2AgU1PP07tcvrfXw2g7NU 2mVigZhYfTqLvI9CgF5Qx/lpBebhmtMDy9G97c973MOxibkYctlYHaOirqTE8uC5 mDL9uhsCBJt2vN2kfEyDf+RYISj2HZq0eQDotsfjI8Ryud41QDV1ln5MGOCfnRzP KEOGVwKD0m06E4Ro0YdnZZHsW0M2aOht8kuZlID58tC6BJufpxngDxQqMhwTRMmi lvJHe1hYAnLgDBkQl/57cd12p7IGfdIBSJ60IHVZB/qglsM2CNvuReDJ5n8vtvOv tvPKm7t8QiHOHOS+nM90mjO0Rg/1jSnGrDV7cqO8phoLETEdkExXw4sDFG2P5hY= =UNrx -----END PGP SIGNATURE-----