What does this error mean. Python and GCC

bob carr carr.bob at gmail.com
Wed Mar 18 16:59:49 UTC 2015


Are you building math/py-numpy from Ports?  If so, you might resolve the
error by  modifying the Makefile -  adding to the LDFLAGS+= entry the
string '-Wl,-rpath=/usr/local/lib/gcc48'.

*Before edit:*  LDFLAGS+=       -shared

​*After edit:* ​LDFLAGS+=       -shared -Wl,-rpath=/usr/local/lib/gcc48


---
Bob Carr
Houghton, Michigan
carr.bob at gmail.com

On Mon, Mar 16, 2015 at 4:56 PM, Bernt Hansson <bah at bananmonarki.se> wrote:

> Hello list!
>
> Trying to get flatcam to run on
> FreeBSD 9.3-RELEASE #0 r278921
>
> Python-2.7
>
> When running; python FlatCAM.py it errors out with this.
>
> python FlatCAM.py
> Traceback (most recent call last):
>   File "FlatCAM.py", line 3, in <module>
>     from FlatCAMApp import App
>   File "/usr/home/bernt/vebbnerladdningar/FlatCAM-8.3/FlatCAM-8.3/FlatCAMApp.py",
> line 18, in <module>
>     from ObjectCollection import *
>   File "/usr/home/bernt/vebbnerladdningar/FlatCAM-8.3/
> FlatCAM-8.3/ObjectCollection.py", line 2, in <module>
>     from FlatCAMObj import *
>   File "/usr/home/bernt/vebbnerladdningar/FlatCAM-8.3/FlatCAM-8.3/FlatCAMObj.py",
> line 5, in <module>
>     from camlib import *
>   File "/usr/home/bernt/vebbnerladdningar/FlatCAM-8.3/FlatCAM-8.3/camlib.py",
> line 12, in <module>
>     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
> 170, in <module>
>     from . import add_newdocs
>   File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py",
> line 13, in <module>
>     from numpy.lib import add_newdoc
>   File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py",
> line 18, in <module>
>     from .polynomial import *
>   File "/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py",
> line 19, in <module>
>     from numpy.linalg import eigvals, lstsq, inv
>   File "/usr/local/lib/python2.7/site-packages/numpy/linalg/__init__.py",
> line 51, in <module>
>     from .linalg import *
>   File "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py",
> line 29, in <module>
>     from numpy.linalg import lapack_lite, _umath_linalg
> ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
> /usr/local/lib/gcc48/libgfortran.so.3 not found
>
> What does it mean, is it meaningful for any of you?
>
> Flatcam is here http://www.flatcam.org/
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list