sdrangel icon indicating copy to clipboard operation
sdrangel copied to clipboard

Cannot load SDRPlay library on MAC

Open UncleBuck62 opened this issue 3 weeks ago • 12 comments

I just upgraded my SDRAngel to version 7.21.2 from 7.19 and not it cannot find my SDRPay RSP1A anymore.

According to the error log this is the problem:

2024-06-16 05:20:09.357 (D) PluginManager::loadPluginsDir: fileName: libinputsdrplayv3.dylib
2024-06-16 05:20:09.358 (W) PluginManager::loadPluginsDir: Cannot load library /Applications/SDRangel.app/Contents/Resources/lib/plugins/libinputsdrplayv3.dylib: (dlopen(/Applications/SDRangel.app/Contents/Resources/lib/plugins/libinputsdrplayv3.dylib, 0x0085): Library not loaded: libsdrplay_api.so.3
  Referenced from: <58BF731A-389C-383A-87CF-3AD28F3AA1E8> /Applications/SDRangel.app/Contents/Resources/lib/plugins/libinputsdrplayv3.dylib
  Reason: tried: 'libsdrplay_api.so.3' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibsdrplay_api.so.3' (no such file), 'libsdrplay_api.so.3' (no such file), '//libsdrplay_api.so.3' (no such file), '/System/Volumes/Preboot/Cryptexes/OS//libsdrplay_api.so.3' (no such file), '//libsdrplay_api.so.3' (no such file))

Manually searching my MAC for any libsdrplay api file resulted in finding this: libsdrplay_api.so.3.15 but it resides in /Library/SDRplayAPI/3.15.0/lib/libsdrplay_api.so.3.15

SDR Connect finds the RSP1A with no issues.

What can I do to resolve this problem?

System is a MAC M1 Ultra running Sonoma 14.5

UncleBuck62 avatar Jun 15 '24 19:06 UncleBuck62