You are not logged in.

#1 2015-02-25 23:36:31

lllars
Member
Registered: 2013-05-17
Posts: 31

python 2/3 and/or boost problem with opencamlib and heekscnc

I seem to have run into a python version problem when installing opencamlib-git.  I can compile (makepkg) and install (pacman -U) the package without issues.  However, once installed I can't seem to use the opencamlib library.  Here is the error I am getting:

lars ~ $ python2
Python 2.7.9 (default, Dec 11 2014, 04:42:00)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ocl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.7/site-packages/ocl.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

I really don't know anything about python or boost, so am at a loss as to how to address this error.  The reason I care is that heekscnc-svn (also in the aur) needs opencamlib to generate toolpaths for pocket machining operations.  The error above is the exact same error given by heekscad when attempting it.

It's been a few years since opencamlib and heekscad/cnc have been actively developed, so the root of this problem is probably that something is out of date.  Still, I'd really like to get it fully working as there really isn't a better alternative available.  Any ideas?

lars ~ $ pacman -Ss boost
extra/boost 1.57.0-3 [installed]
    Free peer-reviewed portable C++ source libraries - development headers
extra/boost-libs 1.57.0-3 [installed]
    Free peer-reviewed portable C++ source libraries - runtime libraries
lars ~ $ pacman -Ss python | grep installed
extra/pygtk 2.24.0-5 [installed]
extra/pyqt4-common 4.11.3-2 [installed]
extra/pyqt5-common 5.4.0-2 [installed]
extra/python 3.4.2-2 [installed]
extra/python-cairo 1.10.0-4 [installed]
extra/python-dbus 1.2.0-4 [installed]
extra/python-dbus-common 1.2.0-4 [installed]
extra/python-gobject 3.14.0-2 [installed]
extra/python-gobject2 2.28.6-11 [installed]
extra/python-pyqt4 4.11.3-2 [installed]
extra/python-requests 2.5.1-1 [installed]
extra/python-sip 4.16.5-1 [installed]
extra/python-xdg 0.25-2 [installed]
extra/python2 2.7.9-1 [installed]
extra/python2-beaker 1.6.5-1 [installed]
extra/python2-cairo 1.10.0-2 [installed]
extra/python2-chardet 2.3.0-1 [installed]
extra/python2-cssselect 0.9.1-2 [installed]
extra/python2-dbus 1.2.0-4 [installed]
extra/python2-gobject2 2.28.6-11 [installed]
extra/python2-lxml 3.4.2-1 [installed: 3.4.1-1]
extra/python2-mako 1.0.1-1 [installed]
extra/python2-markupsafe 0.23-1 [installed]
extra/python2-numpy 1.9.1-1 [installed]
extra/python2-opengl 3.1.0-1 [installed]
extra/python2-pyqt4 4.11.3-2 [installed]
extra/python2-pyqt5 5.4.0-2 [installed]
extra/python2-rsvg 2.32.0-15 [installed]
extra/python2-setuptools 1:12.2-1 [installed: 1:12.0.5-1]
extra/python2-sip 4.16.5-1 [installed]
extra/python2-xdg 0.25-2 [installed]
extra/sip 4.16.5-1 [installed]
community/libftdi 1.2-1 [installed]
community/mlt-python-bindings 0.9.2-3 [installed]
community/pygoocanvas 0.14.1-6 [installed]
community/python-pmw 2.0.0-2 [installed]
community/python-psycopg2 2.6-1 [installed]
community/python-pyside-common 1.2.2-4 [installed]
community/python2-apsw 3.8.8.1-1 [installed]
community/python2-beautifulsoup3 3.2.1-3 [installed]
community/python2-cherrypy 3.6.0-1 [installed]
community/python2-cssutils 1.0-2 [installed]
community/python2-dateutil 2.4.0-1 [installed]
community/python2-dnspython 1.12.0-1 [installed]
community/python2-fuse 0.2.1-5 [installed]
community/python2-html5lib 0.999-5 [installed]
community/python2-httplib2 0.9-3 [installed]
community/python2-matplotlib 1.4.2-3 [installed]
community/python2-mechanize 0.2.5-4 [installed]
community/python2-netifaces 0.10.4-1 [installed]
community/python2-pillow 2.7.0-1 [installed: 2.6.2-1]
community/python2-pivy 20101207-1 [installed]
community/python2-pmw 2.0.0-2 [installed]
community/python2-psutil 2.2.1-1 [installed: 2.2.0-1]
community/python2-psycopg2 2.6-1 [installed]
community/python2-pygments 2.0.2-1 [installed]
community/python2-pyparsing 2.0.3-1 [installed]
community/python2-pyside 1.2.2-4 [installed]
community/python2-pytz 2014.10-1 [installed]
community/python2-shiboken 1.2.2-4 [installed]
community/python2-six 1.9.0-1 [installed]
community/reflector 2014.11-1 [installed]
community/shiboken 1.2.2-4 [installed]

Offline

Board footer

Powered by FluxBB