FluffyMortain / heekscad

Automatically exported from code.google.com/p/heekscad
Other
0 stars 0 forks source link

Compatibility with boost-1.58 #405

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm running on Arch Linux and recently updated to boost-1.58.0 from 1.57.0. I'm 
getting "ImportError: libboost_python.so.1.57.0: cannot open shared object 
file: No such file or directory" when executing "Post-Process" to generate NC.

Reverting to boost-1.57 resolve the issue. Below is the full error I copied 
from the error prompt/dialog:

1st Prompt:
Traceback (most recent call last):
  File "/tmp/post.py", line 6, in <module>
    import area
ImportError: libboost_python.so.1.57.0: cannot open shared object file: No such 
file or directory

2nd Prompt:
Traceback (most recent call last):
  File "/usr/lib/heekscnc/backplot.py", line 8, in <module>
    machine_module = __import__('nc.' + reader, fromlist = ['dummy'])
  File "/usr/lib/heekscnc/nc/iso_read.py", line 8, in <module>
    import nc_read as nc
  File "/usr/lib/heekscnc/nc/nc_read.py", line 7, in <module>
    import area
ImportError: libboost_python.so.1.57.0: cannot open shared object file: No such 
file or directory

Original issue reported on code.google.com by faulty....@gmail.com on 7 May 2015 at 10:13

GoogleCodeExporter commented 9 years ago
It seems you dont have recompiled libarea and HeeksCNC with updated boost 
module to run with HeeksCAD, am I wrong ?

Original comment by neomil...@gmail.com on 7 May 2015 at 11:48

GoogleCodeExporter commented 9 years ago
I didn't, so I just need to recompile libarea & HeeksCNC? I'll give it a try 
later.

Original comment by faulty....@gmail.com on 7 May 2015 at 11:49

GoogleCodeExporter commented 9 years ago
I've recompile libarea and heekscnc following 
https://code.google.com/p/heekscad/wiki/BuildHeeksCncUnderLinux with latest 
code, though I've having trouble compiling heekscnc. I'll raise an issue over 
there instead. The version I'm having was compiled from 22nd Dec version of 
code, I didn't realized there have been a lot of changes since then. Thanks for 
looking into this and sorry for the trouble :)

Original comment by faulty....@gmail.com on 7 May 2015 at 12:30

GoogleCodeExporter commented 9 years ago

Original comment by neomil...@gmail.com on 11 May 2015 at 10:59

GoogleCodeExporter commented 9 years ago
I managed to compile properly now and have had compile libarea, heekscad and 
heekscnc from latest code with boost 1.58 install. I still get the same issue. 
At the end I found out that libarea is installed to /usr/local/lib which 
previously was /usr/lib and somehow heekscad is still looking for the old 
version. I manually remove the old version and verified with ldd. Now 
everything is working. Though not sure if this is Arch related.

Original comment by faulty....@gmail.com on 19 May 2015 at 6:55