Closed arvedviehweger closed 4 months ago
Have a look at my lastest commit. This seems to be the more elegant way of fixing it.
Output from otool:
@rpath/libLimeSuite.23.11-1.dylib (compatibility version 23.11.0, current version 23.11.0) /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib (compatibility version 4.0.0, current version 4.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
I can also confirm that running the binaries from the build directory (with the lib uninstalled from the system) run just fine now.
Hello!
I recently upgraded to a new MacBook Pro. Since I planned on using my LimeSDR in combination with the new laptop I had to compile LimeSuite from source since homebrew no longer offers prebuilt versions.
Everything compiled fine but running certain executables (for example LimeUtil) resulted in errors like this:
Updating the main CMakeLists file with the content of this pull request fixes the issue and everything runs fine again. It appears to be an issue with recent macOS versions as I could reproduce it on macOS 13 (Intel CPU) and macOS 14 (M3 Pro CPU). In both cases it is now working fine.