Date: Sun, 15 Jun 2014 10:24:16 +0800 From: Irjohn Junus <i.junus@gmail.com> To: "John W. O'Brien" <john@saltant.com> Cc: python@freebsd.org, Jimmy Olgeni <olgeni@freebsd.org> Subject: Re: math/py-numpy cannot satisfy libgfortran dependency on libgcc_s/GCC_4.6.0 [WAS: Re: py27-pandas-0.13.1_1 conflict with py27-MySQLdb-1.2.3_4] Message-ID: <CALXkR%2B9Va2zs15oTQP7BPcv4NaZotvkE4aorg=CMDatn4Zi8fg@mail.gmail.com> In-Reply-To: <5385CF53.10608@saltant.com> References: <CALXkR%2B8ivP3m2aJN%2Bm88Sz%2B4BodAxnYioBvgUotFZf_-TVPLgg@mail.gmail.com> <536C40B0.2060705@saltant.com> <CALXkR%2B_r4kG8CHO8R2MOsGHK4JDeEMa28MN4rzZ1hAtd%2BzAu4g@mail.gmail.com> <53718C14.1040807@saltant.com> <CALXkR%2B-6_2k4pD7-Ln6e-PbgFTKriRXSrqOpd=UVbwppi=dpvg@mail.gmail.com> <5385CF53.10608@saltant.com>
next in thread | previous in thread | raw e-mail | index | archive | help
John, Here's my /usr/local/lib/compat/pkg: [ijunus@mars /]$ ls /usr/local/lib/compat/pkg libXau.so.0 libgd.so.4 libxcb-sync.so.0 libaprutil-1.so.3 libpcre.so.1 libxcb-xkb.so.0 libatalk.so.3 libpcre16.so.0 libxcb.so.2 libffi.so.5 libpixman-1.so.30 lxml-3.1.0-py2.7.egg-info libfreetype.so.9 libsvn_ra_neon-1.so.0 libgcrypt.so.18 libxcb-randr.so.1 Thanks, Irjohn On Wed, May 28, 2014 at 7:58 PM, John W. O'Brien <john@saltant.com> wrote: > On 5/18/14 12:30 AM, Irjohn Junus wrote: > > Thank you for looking at this. Apologies for my late reply it's been > > crazy busy at work lately. > > I completely understand. As you can probably tell, my situation is similar. > > > Here's answers to your questions: > > >> 1. What is the rpath stored in your copy of those numpy files? > >> That is, what is the output from > >> > >> cd /usr/local/lib/python2.7/site-packages/numpy/linalg > >> readelf -d _umath_linalg.so | grep RPATH > >> readelf -d lapack_lite.so | grep RPATH > >> > >> ? > > > readelf -d _umath_linalg.so | grep RPATH > > 0x000000000000000f (RPATH) Library rpath: > > [/usr/local/lib/gcc47] > > readelf -d lapack_lite.so | grep RPATH > > 0x000000000000000f (RPATH) Library rpath: > > [/usr/local/lib/gcc47] > > That looks correct to me. > > >> 2. What is the contents of > >> /usr/local/lib/python2.7/site-packages/numpy/distutils/site.cfg on > your > >> machine? > > > cat /usr/local/lib/python2.7/site-packages/numpy/distutils/site.cfg > > [DEFAULT] > > lapack_type=atlas > > library_dirs = > > > /usr/lib:/usr/local/lib:/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd9.1/4.7.3/../../../ > > include_dirs = > > /usr/include:/usr/local/include:/usr/local/include/suitesparse > > src_dirs = /usr/local/src > > # search static libraries (.a) in preference to shared ones (.so) > > search_static_first = 0 > > [atlas] > > library_dirs = > > > /usr/local/lib:/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd9.1/4.7.3/../../../ > > atlas_libs = lapack, blas > > Just like mine. > > >> 2. What is the contents of /etc/make.conf on your machine? > > > cat /etc/make.conf > > # added by use.perl 2013-03-25 18:12:09 > > PERL_VERSION=5.12.4 > > #WITH_MPM=worker > > Totally innocuous. > > >> 4. How to you install and upgrade your ports? Build from source > >> by hand? Build from source with the help of portmaster, > >> poudriere, etc? > >> Install binary packages with pkg_* or ports-mgmt/pkg (pkgng)? > > > 4. > > I use portmaster exclusively, to install: > > portmaster --packages-build --delete-build-only port-name > > to upgrade: > > portmaster --dwv port-name > > I'm taking a stab in the dark here. Based on the '-w' option, might > there be any stale libs hanging around in /usr/local/lib/compat/pkg? > > I haven't been able to reproduce this, so I'm not sure which tree to > bark up next. > > -John > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALXkR%2B9Va2zs15oTQP7BPcv4NaZotvkE4aorg=CMDatn4Zi8fg>