Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdr-trunk-osx-x86_64-v0.6.0-alpha2 searching for nonexistent part of DRplay_RSP_API #1461

Closed
TheButterZone opened this issue Feb 19, 2023 · 0 comments · Fixed by #1462
Closed
Assignees

Comments

@TheButterZone
Copy link

TheButterZone commented Feb 19, 2023

After having successfully installed SDRplay_RSP_API-MacOSX-3.07.3.pkg
&
SoapySDRUtil --find="driver=sdrplay"
Found device 0
driver = sdrplay
label = SDRplay Dev0 RSP1 B0020P0001
&
sudo launchctl stop com.sdrplay.sdrplay_service

2023-02-19 13:49:36.711 INFO i.g.d.s.t.s.api.SDRplay - Loading API Library from default install path: /usr/local/lib/libsdrplay_api.dylib [17MB/34MB 51%]
2023-02-19 13:49:36.761 ERROR i.g.d.s.t.s.api.SDRplay - Unable to load SDRplay API library from default install path. Loading from java system library path [17MB/34MB 51%]
java.lang.UnsatisfiedLinkError: no sdrplay_api in java.library.path: /usr/local/lib
at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.base/java.lang.Runtime.loadLibrary0(Unknown Source)
at java.base/java.lang.System.loadLibrary(Unknown Source)
at io.github.dsheirer.source.tuner.sdrplay.api.SDRplay.loadLibrary(SDRplay.java:169)
at io.github.dsheirer.source.tuner.sdrplay.api.SDRplay.(SDRplay.java:109)
at io.github.dsheirer.source.tuner.manager.TunerManager.discoverSdrPlayTuners(TunerManager.java:302)
at io.github.dsheirer.source.tuner.manager.TunerManager.start(TunerManager.java:139)
at io.github.dsheirer.gui.SDRTrunk.(SDRTrunk.java:178)
at io.github.dsheirer.gui.SDRTrunk.main(SDRTrunk.java:738)
2023-02-19 13:49:36.764 WARN i.g.d.s.t.s.api.SDRplay - SDRPlay API library not found/installed on this system. Ensure the API is installed either in the default install location or the install location is included in the 'java.library.path' JVM property contains path to the library file [libsdrplay_api.dylib]. Current library path property contents: /usr/local/lib [18MB/34MB 52%]
java.lang.UnsatisfiedLinkError: no sdrplay_api in java.library.path: /usr/local/lib
at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.base/java.lang.Runtime.loadLibrary0(Unknown Source)
at java.base/java.lang.System.loadLibrary(Unknown Source)
at io.github.dsheirer.source.tuner.sdrplay.api.SDRplay.loadLibrary(SDRplay.java:169)
at io.github.dsheirer.source.tuner.sdrplay.api.SDRplay.(SDRplay.java:109)
at io.github.dsheirer.source.tuner.manager.TunerManager.discoverSdrPlayTuners(TunerManager.java:302)
at io.github.dsheirer.source.tuner.manager.TunerManager.start(TunerManager.java:139)
at io.github.dsheirer.gui.SDRTrunk.(SDRTrunk.java:178)
at io.github.dsheirer.gui.SDRTrunk.main(SDRTrunk.java:738)
2023-02-19 13:49:36.765 INFO i.g.d.s.t.s.api.SDRplay - API library was not loaded [18MB/34MB 52%]
2023-02-19 13:49:36.766 INFO i.g.d.s.t.s.api.SDRplay - API library is not available. [18MB/34MB 52%]

libsdrplay_api.so.3.07 is the only file (excluding aliases of libsdrplay_api.so & libsdrplay_api.so.3 that point to it) in /usr/local/lib/ that starts with libsdrplay_api. There is no /usr/local/lib/libsdrplay_api.dylib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants