From owner-freebsd-questions@freebsd.org Sun Jan 29 19:21:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73DF6CC7A46 for ; Sun, 29 Jan 2017 19:21:14 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D7A7BBAA; Sun, 29 Jan 2017 19:21:12 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from [10.0.0.3] (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v0TJJktk015901; Sun, 29 Jan 2017 20:19:46 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: Need help with python To: Joseph Olatt References: <20170128162858.GA5721@centos6.eskimo.com> Cc: "freebsd-questions@freebsd.org" , trasz@FreeBSD.org From: Bernt Hansson Message-ID: <991690dd-c189-1684-d835-855192b9b51d@bananmonarki.se> Date: Sun, 29 Jan 2017 20:19:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170128162858.GA5721@centos6.eskimo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 19:21:14 -0000 On 2017-01-28 17:28, 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. >> >> >> python2 FlatCAM.py >> Traceback (most recent call last): >> File "FlatCAM.py", line 3, in >> from FlatCAMApp import App >> File >> "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/FlatCAMApp.py", line >> 22, in >> from ObjectCollection import * >> File >> "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/ObjectCollection.py", >> line 2, in >> from FlatCAMObj import * >> File >> "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/FlatCAMObj.py", line >> 7, in >> from camlib import * >> File "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/camlib.py", >> line 13, in >> from numpy import arctan2, Inf, array, sqrt, pi, ceil, sin, cos, >> dot, float32, \ >> File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", >> line 142, in >> from . import add_newdocs >> File >> "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line >> 13, in >> from numpy.lib import add_newdoc >> File >> "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line >> 8, in >> from .type_check import * >> File >> "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", >> line 11, in >> import numpy.core.numeric as _nx >> File >> "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", >> line 14, in >> 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. It is not a port or package, yet. Had the same problem with pycam before it became a port. If i make a link to libgcc_s.so.1 in /usr/local/lib/gcc49 the program works, and so did pycam. So why is it not working with the /lib/libgcc_s.so.1 from the original install. > > My guess is that /usr/local/lib/gcc49/libgfortran.so.3 would be found > if that is installed. > > >