Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 14:58:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204598] math/py-matplotlib build failure (gcc48/libgfortran.so.3 requires libgcc version GCC_4.6.0)
Message-ID:  <bug-204598-13-tBKrWtcMeJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204598-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204598-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204598

FreeBSD@ShaneWare.Biz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |FreeBSD@ShaneWare.Biz

--- Comment #2 from FreeBSD@ShaneWare.Biz ---
/lib/libgcc_s.so.1: version GCC_4.6.0 required by
/usr/local/lib/gcc48/libgfortran.so.3 not found

I have seen this error for some time when trying to import numpy. I recently
found how to get it working - I use setenv LD_LIBRARY_PATH /usr/local/lib/gcc48
for bash that would be export LD_LIBRARY_PATH=/usr/local/lib/gcc48 you can also
adjust to use gcc49

The cause is at runtime /lib/libgcc_s.so.1 is found first in the search path
(possibly because it has already been loaded) and only has the older lib
versions (up to 4.3.0) while the lib trying to be loaded was compiled against a
newer version, setting LD_LIBRARY_PATH lets the newer version included with the
port built gcc to be found first and used.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204598-13-tBKrWtcMeJ>