FreeCAD Slackwarex64 -Current can't open libTKFillet
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
FreeCAD Slackwarex64 -Current can't open libTKFillet
I built FreeCAD on my x64 -current box today and am getting the following
Code:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/opt/FreeCAD/Mod/Draft/importDXF.py", line 45, in <module>
import sys, FreeCAD, os, Part, math, re, string, Mesh, Draft, DraftVecUtils, DraftGeomUtils
ImportError: libTKFillet.so.0: cannot open shared object file: No such file or directory
I built all the deps. Its a clean install of -current, burned an iso a week or so ago and put a new ssd in and did a fresh install. So there wasn't any old deps, all were built new.
I rather suspect, in that case, that either the cmake build for FreeCAD needs to be told where to find it or you can edit /etc/ld.so.conf to have it available at run time.
FWIW, I think that editing /etc/ld.so.conf would be the wrong thing to do.
Hi enine, thanks for the very useful report, I can reproduce it easily here, sorry for the cockup
I recognise the essential truth of what Mr Cranium says about /etc/ld.so.conf, but adding /opt/OpenCASCADE/lib64 may be a relatively clean solution, since FreeCAD does not use a wrapper script.
Alternatively, I could write a trivial wrapper script.
Yeah, ok, I'll write a wrapper script.
Edit: wrote a wrapper script.
Quick and dirty, you can remove the symlink /usr/bin/FreeCAD, and put this script at that location, and make it executable:
Thanks, 55020. This is why I made the Open Source switch years ago. I still have tickets with Microsoft for bugs I reported in server 2003
Only minor issue, if I just run FreeCAD it errors, I have to specify /usr/bin/FreeCAD to run your wrapper. Apparently FreeCAD is elsewhere in the path getting found first.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.