jack2
jack2 copied to clipboard
libjack.0.dylib failed at library validation on OSX Monterey
Describe the bug
Musescore 3.6 doesn't work with jack2. When musescore is launched from command line, it prints out the following error:
dlopen error : dlopen(libjack.0.dylib, 1): image not found
dlopen error : dlopen(/usr/local/lib/libjack.0.dylib, 1): no suitable image found. Did find:
/usr/local/lib/libjack.0.dylib: code signature in (/usr/local/lib/libjack.0.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/usr/local/lib/libjack.0.dylib: stat() failed with errno=22
This is also reported on Musescore. https://musescore.org/en/node/326520. (I'm not sure whether it's a musecore issue or a jack2 issue)
Environment
- JACK Version: jackdmp version 1.9.20
- Operating System: macOS Monterey 12.0.1
- Installation: JACK 1.9.20 macOS-universal from https://jackaudio.org/downloads/
Steps To Reproduce
# Assuming Musescore 3.6 is installed
mscore
Expected vs. actual behavior
Expected behavior: Musecore 3.6 able to find libjack library. Actual behavior: Musescore 3.6 reports that libjack.dylib failed for library validation.
dlopen error : dlopen(libjack.0.dylib, 1): image not found
dlopen error : dlopen(/usr/local/lib/libjack.0.dylib, 1): no suitable image found. Did find:
/usr/local/lib/libjack.0.dylib: code signature in (/usr/local/lib/libjack.0.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/usr/local/lib/libjack.0.dylib: stat() failed with errno=22
that is unexpected, the jack macos builds have an installer so those libraries should not be in quarentine. I guess tools need to do trickery to allow to load such libs on macOS :shrug: