Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What does this error mean. Python and GCC

101 views
Skip to first unread message

Bernt Hansson

unread,
Mar 16, 2015, 4:57:02 PM3/16/15
to
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-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Manas Bhatnagar

unread,
Mar 16, 2015, 5:29:43 PM3/16/15
to
I think you don't have the gcc 4.6.0 library. It's looking in /lib/ so
perhaps this was supposed to have been installed with the base? not
really sure but those are my ideas.

bob carr

unread,
Mar 18, 2015, 12:59:58 PM3/18/15
to
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...@gmail.com

> To unsubscribe, send any mail to "freebsd-questions-
> unsub...@freebsd.org"

Bernt Hansson

unread,
Mar 19, 2015, 1:32:29 AM3/19/15
to
On 2015-03-18 17:59, bob carr wrote:
> 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

Thank you. I'll try that. Yes. Building from ports.

Bernt Hansson

unread,
Mar 19, 2015, 1:56:16 AM3/19/15
to
On 2015-03-18 17:59, bob carr wrote:
> 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

Same error as before.


ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
/usr/local/lib/gcc48/libgfortran.so.3 not found

Bernt Hansson

unread,
Mar 19, 2015, 2:10:43 AM3/19/15
to
There is a PR for this error

http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2014-March/275149.html


On 2015-03-18 17:59, bob carr wrote:
> 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
>
>

>> 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-...@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions

>> To unsubscribe, send any mail to "freebsd-questions-
>> unsub...@freebsd.org"

0 new messages