Open ccesarcaball opened 10 months ago
This is an Apple bug. They are shipping their Carbon.framework with a broken symlink:
$ file /System/Library/Frameworks/Carbon.framework/Carbon
/System/Library/Frameworks/Carbon.framework/Carbon: broken symbolic link to Versions/Current/Carbon
However, this is not new with Sonoma. It was also a broken link in Ventura.
I don't know why it doesn't surprise me... any workaround?
I have the same problem in Frescobaldi but I'm not sure the problem is an "Apple bug" first because the dlerror comes from looking in the wrong directory : OSError: dlopen(/System/Library/Carbon.framework/Carbon, 0x0006)
While it should be looking in /System/Library/Frameworks/Carbon.framework/Carbon
But also since Carbon framework is deprecated since 10.8 (2012) and has no 64-bits support while macOS supports only 64-bit since 10.15 Catalina.
any workaround? You can launch the python application from Terminal directly without using the .app wrapper
While it should be looking in
/System/Library/Frameworks/Carbon.framework/Carbon
There is no such directory. Instead that is the pathname of a broken symlink, and that broken symlink was put there by Apple. The expectation is that Carbon would be a dynamic library that could be opened by dlopen, not a directory.
I don't know of any workaround other than removing dependence on a library which no longer exists.
Is this affecting all builds on Ventura? Or only those with a specific dependency?
Just in case it helps, I run into the same issue in this project using rumps + py2app. This workaround worked for me.
@matagus Worked for me thanks!
Im using MacOS Sonoma 14.0, I'm able to build the app, but I can't run it, this is the error: