dlopen and dlsym loadable modules located in app directory

Hi, I encounter problems after updating macOS to Sequoia 15.5 with plugins loaded with dlopen and dlsym.

$ file /Applications/com.gsequencer.GSequencer.app/Contents/Plugins/ladspa/cmt.dylib 
/Applications/com.gsequencer.GSequencer.app/Contents/Plugins/ladspa/cmt.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64]
/Applications/com.gsequencer.GSequencer.app/Contents/Plugins/ladspa/cmt.dylib (for architecture x86_64):	Mach-O 64-bit bundle x86_64
/Applications/com.gsequencer.GSequencer.app/Contents/Plugins/ladspa/cmt.dylib (for architecture arm64):	Mach-O 64-bit bundle arm64

I am currently investigating what goes wrong. My application runs in a sandboxed environment.

What are the symptoms? The go-to tool for debugging problems like this is dlerror (see its man page) which you can call to find out why dlopen and dlsym failed.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

The problem was macOS dynamic generated menu entries. I have yet solved the problem, by moving the plugins to a menu button.

regards, Joël

dlopen and dlsym loadable modules located in app directory
 
 
Q