Part.so missing

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
EskiBrew
Posts: 100
Joined: Fri Apr 24, 2015 10:21 am

Part.so missing

Post by EskiBrew »

OS: Linux Mint 20.2 (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.20.25927 (Git)
Build type: Unknown
Branch: master
Hash: 822bc86894904d2599a519290840b5c5746536f5
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United Kingdom (en_GB)

I recently upgraded my distro (Linux Mint 20) and have just realised that FreeCAD is now broken - it may be related or it may not.
I build and run FreeCAD locally from Git.

When starting FreeCAD, the report view shows:
Part.so: cannot open shared object file: No such file or directory

I thought I'd just rebuild it however when I do that, I get:

[ 58%] Built target Web
/usr/bin/ld: CMakeFiles/Part.dir/AppPart.cpp.o: in function `PyInit_Part':
AppPart.cpp:(.text+0x1197): undefined reference to `Part::Fillet::init()'
/usr/bin/ld: AppPart.cpp:(.text+0x11b0): undefined reference to `Part::Revolution::init()'
/usr/bin/ld: AppPart.cpp:(.text+0x11b5): undefined reference to `Part::Mirroring::init()'
/usr/bin/ld: AppPart.cpp:(.text+0x123c): undefined reference to `Part::Offset::init()'
/usr/bin/ld: AppPart.cpp:(.text+0x1241): undefined reference to `Part::Offset2D::init()'
collect2: error: ld returned 1 exit status
make[2]: *** [src/Mod/Part/App/CMakeFiles/Part.dir/build.make:2816: Mod/Part/Part.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:3427: src/Mod/Part/App/CMakeFiles/Part.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Any ideas what is wrong?
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Part.so missing

Post by openBrain »

Just a guess.
Could you 'make clean' then try to 'make' again' ?
EskiBrew
Posts: 100
Joined: Fri Apr 24, 2015 10:21 am

Re: Part.so missing

Post by EskiBrew »

openBrain wrote: Thu Sep 30, 2021 1:33 pm Just a guess.
Could you 'make clean' then try to 'make' again' ?
Thanks, I'd just tried that and was about to post when I spotted your reply - it took ages to build but it worked 8-)

Could delete this thread perhaps?
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Part.so missing

Post by openBrain »

EskiBrew wrote: Thu Sep 30, 2021 1:37 pm Could delete this thread perhaps?
I think we can keep it. I think many users that compile themselves tends to only "incrementally" compile without never cleaning. ;)
So maybe they can found something useful here.
Post Reply