New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Problem] FreeCAD doesn't start on MacOS Catalina 10.15.7 #10090
Comments
@chennes could you explain what process you followed to replace the library and then signing the bundle? |
I just replaced the single library file (not the links) and reran the entire signing process. I will replace the links next time. |
@chennes verdict on this ticket ? |
None yet: I don't have access to this OS so testing possible solutions is slow. Apple has changed their code signing requirements significantly in recent OSes, and it appears that what works in new versions does not necessarily work in old ones. |
Hi, I just installed FreeCAD-0.21.0-coin_patch-mac-intel_x86.dmg on Mojave 10.14.6 but I still get the same error as OP |
+1 |
Same here |
I seem to have the same problem on OS 11.6.1 using the downloaded version FreeCAD-0.21.0-mac-intel_x86.dmg from today.
|
I suspect that anything prior to Ventura (Mac OS 13) is going to have an issue here: these libraries were created using the Mac OS 10.9 SDK, which apparently used different signing technology. For whatever reason Ventura seems happy to launch the executable anyway, but the older OSes are less tolerant. I'm looking into whether the best path forward is to try to recompile the whole chain with a newer SDK, or to just release an unsigned version for those on the older OSes. |
I've uploaded an unsigned version of the DMG that should work on versions of MacOS prior to Mac OS 13 (Ventura) -- I'd appreciate your feedback on whether this works on your systems. |
@chennes FreeCAD-0.21.0-mac-intel x86-unsigned.dmg works on macOS 10.15.7 (Catalina). Thank you. |
@chennes still fails for me on 10.14.6 (Mojave) but with a new error, if I try to run it from the command line I get at the end:
|
@nonno-cicala can you try the Conda bundle from here? https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/0.21.0 |
It also works for me on 10.15.7 (with the usual unsigned application message that needs Ctrl + open to load). % ls -l /Applications/FreeCAD.app/Contents/Resources/lib/libCoin.*
-rwxrwxrwx@ 1 user admin 7981056 16 aoû 21:19 /Applications/FreeCAD.app/Contents/Resources/lib/libCoin.4.0.0.dylib
lrwxr-xr-x 1 user admin 19 16 aoû 22:14 /Applications/FreeCAD.app/Contents/Resources/lib/libCoin.80.dylib -> libCoin.4.0.0.dylib
lrwxr-xr-x 1 user admin 19 16 aoû 22:14 /Applications/FreeCAD.app/Contents/Resources/lib/libCoin.dylib -> libCoin.4.0.0.dylib |
I had the dyld: Library not loaded: @rpath/libCoin.80.dylib error but I have downloaded and run the unsigned version (above) and FreeCAD starts up. I started it using both from Finder as well as Terminal (/Applications/FreeCAD.app/Contents/Resources/bin/) I am running Big Sur (11.7.8) |
Just to add my findings to the list, I am on Mac OS X Mojave 10.14.6 (18G9323) because I have an old but trusty MacPro5,1. I tried four 0.21.0 release files and for me the only one that works is FreeCAD_0.21.0-2023-08-02-conda-macOS-x86_64-py310.dmg. The other three files I downloaded and tried yesterday made FreeCAD crash on startup with SIGABRT and termination reason 'DYLD, [0x1] Library missing' and 'Library not loaded: @rpath/libCoin.80.dylib': FreeCAD-0.21.0-mac-intel_x86.dmg (official link) FreeCAD-0.21.0-coin_patch-mac-intel_x86.dmg FreeCAD-0.21.0-mac-intel_x86-unsigned.dmg |
Thanks for the thorough report @twbaumann -- so that tells me that replacing the Coin library on an ad hoc basis is failing on certain OSes, but is working on others. @adrianinsaval the upshot is that we really need to figure out how to get that older Coin build into the Conda. Any ideas on that front? |
Works fine at MacOS 10.15.7 |
@chennes, I tried the same Conda bundle that worked for @twbaumann and it worked for me too on 10.14.6! 🎉
@X-Ryl669, it was the same error with the standard package and the coin_patched one, it changed with the unsigned package Thanks everyone! |
I have also verified the unsigned version works on my installation of Catalina 15.7. Thank you |
what's the status on this for the 0.21.1 release? which bundle works and which doesn't? |
I believe this has been solved, feel free to reopen if it's still a problem |
Is there an existing issue for this?
Full version info
Can't get to that point
Subproject(s) affected?
None
Problem description
Checked #9465 and maybe it's related, but it's not exactly the same issue. I've downloaded FreeCAD DMG for intel on 08/05/23, and it doesn't start.
When launched from the terminal, it gives this output:
So it seems to fail on code signing for libCoin.80.dylib.
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: