From owner-freebsd-python@FreeBSD.ORG Tue May 26 13:00:48 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 2474B129; Tue, 26 May 2015 13:00:48 +0000 (UTC) (envelope-from john@saltant.com) Received: from homiemail-a96.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by mx1.freebsd.org (Postfix) with ESMTP id F34ACC47; Tue, 26 May 2015 13:00:47 +0000 (UTC) (envelope-from john@saltant.com) Received: from homiemail-a96.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTP id 015C23B809A; Tue, 26 May 2015 06:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:subject:references:in-reply-to: content-type; s=saltant.com; bh=5jXmWKQDyRzoZ3WX1cHBiU8EllQ=; b= VMkB1QBj3iIFMnLZ+6Njb93GuTQI/nRKZ68xTP4h9Dmp6uYqUjcF1qBXav6+uc+b ZEVh8y+q/WNcCLtrUQYaqf03PaC9lN6J4KgbSkCG8owB1YB6nbJTZxR+F1B9bIqZ 7c67/pgr6IpnCxpF245rzriR5qeHGbP4NvKpgLrSUjo= Received: from wal-apn.418.wlan.wireless-pennnet.upenn.edu (wal-apn.418.wlan.wireless-pennnet.upenn.edu [165.123.63.163]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: john@saltant.com) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTPSA id 9AF1D3B8072; Tue, 26 May 2015 06:00:46 -0700 (PDT) Message-ID: <55646E74.4080206@saltant.com> Date: Tue, 26 May 2015 09:00:36 -0400 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Johannes Jost Meixner , python@FreeBSD.org Subject: Re: ipython / numpy / scipy weirdness References: <555FDE72.4010303@FreeBSD.org> In-Reply-To: <555FDE72.4010303@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="11XhmguvN4E8nOjeAq126cD2tMEKmAW1A" 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: Tue, 26 May 2015 13:00:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --11XhmguvN4E8nOjeAq126cD2tMEKmAW1A Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 5/22/15 9:57 PM, Johannes Jost Meixner wrote: > 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: >=20 > ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by > /usr/local/lib/gcc48/libgfortran.so.3 not found >=20 > Supposedly, we have a commit to show for fixing it in > https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D369447, >=20 > and yet... I can't get numpy nor scipy to work *without* the following:= >=20 [patch] > % ipython notebook (new site opens in a browser) >=20 > create a notebook > write into it, 'import numpy' > write into it, 'import scipy >=20 > run the notebook (hit the 'play' button) I am afraid to say that I fail to reproduce this problem. % ipython --no-banner In [1]: import numpy In [2]: import scipy In [3]: Do you really want to exit ([y]/n)? y % pkg info -x "numpy|scipy|ipython" py27-ipython-3.1.0 py27-numpy-1.9.2,1 py27-scipy-0.15.1_1 I built fresh copies of numpy and scipy [0] for this test. You can see in the build logs that LDFLAGS already includes -Wl,-rpath=3D/usr/local/lib/gcc48 for both ports. There is some more related background discussion that you may recall from this list about a year ago [1]. I was not able to reproduce it then either, but I did report some possibly-helpful diagnostics. [0] https://pkg.saltant.net/poudriere/101amd64-default-python27/2015-05-26_08= h25m36s/build.html [1] https://lists.freebsd.org/pipermail/freebsd-python/2014-May/006937.ht= ml All the best, John --11XhmguvN4E8nOjeAq126cD2tMEKmAW1A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQIcBAEBCgAGBQJVZG58AAoJEGEAJpqmdExH7IUP/07XBCm3FvTSv6CqvGWiJ9jC 8DfcY9HszPM0DG2T6/qffWAju5riTMuCsgVfqx1pnoD+RLKQM2xKKWuEOKclLTQn FRaKVRcz97AhxDfkV/Kkto5TT1LzMxlwporb/MLAPnL+gCI5XODqqhD2HsQOdS/E sITGqHV9/sEjjCAWg89wxsLNQJ9XA6Zpp2vC2QaTse94ii/hDNFgyGDszjXZ4HM+ ajP9enovymTcQ7tk6aPmDDIufDOFbzJgCVkfgaJ3u/fRMvPtQbTuHvtrGmF4LNZl vWUK3OuzkWB/UUsZAfi/L6jslXJZml2IY1pgekGzSYMRNauZc7KHiVqt32feKLj6 dD40WAVdd6VZoWGRk377s3y9O6NkdLqnWuva3EUCuuoRgkxzfkktw2QtczARMA8J MJbpLbYOGjl/ofBxsafwnsP9+JKX7bpJI4zWDPI17STSXIHi2ijQnXFiHW9QqOtP W9zUfO/G0sp/hw8JHryfC2aUxDFnDT401sgvd+j/Kand82caatJo/UGl/WCs9AJh ryBOd1NxOIeXCgbyNm9H+da8SzDP6C+eYor2wMtbAgAe/HaSQOX+sibU/V/1pA/L wzVBVpUQG2+OpBbj7RHbXrOjgV5gtFsMA1dSV3bAlEKwP+ZZmd5QoQFsefsr8cN0 cu+x0XUJGLgYhC1Z9gI0 =p+/S -----END PGP SIGNATURE----- --11XhmguvN4E8nOjeAq126cD2tMEKmAW1A--