Need help with python
FreeBSD at ShaneWare.Biz
Mon Jan 30 10:30:16 UTC 2017
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 http://flatcam.org/ 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.
>> line 14, in <module>
>> from . import multiarray
>> ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
>> /usr/local/lib/gcc49/libgfortran.so.3 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/libgfortran.so.3 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
FreeBSD - the place to B...Software Developing
More information about the freebsd-questions