[Bug 204598] math/py-matplotlib build failure (gcc48/libgfortran.so.3 requires libgcc version GCC_4.6.0)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 17 14:58:17 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204598

FreeBSD at ShaneWare.Biz changed:

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

--- Comment #2 from FreeBSD at 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.


More information about the freebsd-ports-bugs mailing list