Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2017 20:55:03 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Joseph Olatt <>, Bernt Hansson <>
Cc:, "" <>
Subject:   Re: Need help with python
Message-ID:  <5b4df615-153a-f22a-d940-bb038cb5dc78@ShaneWare.Biz>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 29/01/2017 02:58, Joseph Olatt wrote:
> On Thu, Jan 26, 2017 at 07:57:20PM +0100, Bernt Hansson wrote:
>> Hello list!
>> I'm trying to run this program it's made in python.
>> Got this same error whith py-pycam before it became a port.
>> So what did the maintainer do with pycam.
>> Pycam maintainer cc.
>> This error is from flatcam, last line was the same with pycam.

>> "/usr/local/lib/python2.7/site-packages/numpy/core/",
>> line 14, in <module>
>>     from . import multiarray
>> ImportError: /lib/ version GCC_4.6.0 required by
>> /usr/local/lib/gcc49/ not found
> It looks like this port/pkg is looking for GCC_4.9.0. You seem to have
> GCC 4.6.0 installed on your system.
> My guess is that /usr/local/lib/gcc49/ would be found
> if that is installed.

That has come up a few times, see -

When trying to load libgfortran the system installed libgcc_s is found
first (it has most likely already been loaded by another lib) and used,
but as it is built against an older version of gcc it fails to support
the needs of the newer libgfortran.

The work around is to set LD_LIBRARY_PATH to point to the current gcc
lib folder so that the newer libgcc_s is always found and used.

This can be done by creating a script that sets LD_LIBRARY_PATH and then
runs the script. Or you can set it in your shell login to be used all
the time.

FreeBSD - the place to B...Software Developing

Shane Ambler

Want to link to this message? Use this URL: <>