AlexandreRouma / SDRPlusPlus

Cross-Platform SDR Software
GNU General Public License v3.0
3.79k stars 522 forks source link

SDRPP fails to load sdrplay module with SDRplay API 3.14 #1314

Closed clouserw closed 5 months ago

clouserw commented 5 months ago

Hardware

Software

Bug Description When using the current release version of SDRplay RSP API (v. 3.14) the module fails to load and SDRPlusPlus doesn't show the SDRPlay menu item.

Reverting to SDRplay RSP API 3.12 resolves the issue.

Steps To Reproduce

  1. Install SDRPlusPlus
  2. Install SDRPlay RSP API 3.12 -> There is an SDRPlay menu item in the source -> RSP1a works
  3. Install SDRPlay RSP API 3.14 -> There is no SDRPlay menu item -> RSP1a does not work. An error message appears in the console:

    [01/02/2024 14:08:57.000] [ERROR] Couldn't load /usr/lib/sdrpp/plugins/sdrplay_source.so: libsdrplay_api.so.3.12: cannot open shared object file: No such file or directory ... [01/02/2024 14:22:40.000] [ERROR] Module 'sdrplay_source' doesn't exist

Additional info Here's the complete log:

$ ./sdrpp -r ~/.config/sdrpp/ [01/02/2024 14:08:56.000] [INFO] SDR++ v1.1.0 [01/02/2024 14:08:56.000] [INFO] Loading config [01/02/2024 14:08:57.000] [INFO] Using OpenGL 3.0 [01/02/2024 14:08:57.000] [INFO] Loading icons [01/02/2024 14:08:57.000] [INFO] Loading band plans [01/02/2024 14:08:57.000] [INFO] Loading band plans color table [01/02/2024 14:08:57.000] [ERROR] Menu element is missing name key [01/02/2024 14:08:57.000] [INFO] Loading modules [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/file_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/discord_integration.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/spectran_http_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/limesdr_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/sdrplay_source.so [01/02/2024 14:08:57.000] [ERROR] Couldn't load /usr/lib/sdrpp/plugins/sdrplay_source.so: libsdrplay_api.so.3.12: cannot open shared object file: No such file or directory [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/sdrpp_server_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/recorder.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/rfspace_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/frequency_manager.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/bladerf_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/meteor_demodulator.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/new_portaudio_sink.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/audio_sink.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/plutosdr_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/airspy_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/soapy_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/hackrf_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/m17_decoder.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/rigctl_client.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/scanner.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/radio.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/audio_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/airspyhf_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/spyserver_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/perseus_source.so [01/02/2024 14:08:57.000] [ERROR] Couldn't load /usr/lib/sdrpp/plugins/perseus_source.so: libperseus-sdr.so.0: cannot open shared object file: No such file or directory [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/rigctl_server.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/rtl_tcp_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/hermes_source.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/network_sink.so [01/02/2024 14:08:57.000] [INFO] Loading /usr/lib/sdrpp/plugins/rtl_sdr_source.so [01/02/2024 14:08:57.000] [INFO] Initializing Airspy Source (airspy_source) [01/02/2024 14:08:57.000] [INFO] Initializing AirspyHF+ Source (airspyhf_source) [01/02/2024 14:08:57.000] [INFO] Initializing Audio Sink (audio_sink) [01/02/2024 14:08:57.000] [INFO] Initializing Audio Source (audio_source) [01/02/2024 14:08:57.000] [INFO] New DSP samplerate: 44100.000000 (source samplerate is 44100.000000) [01/02/2024 14:08:57.000] [INFO] Initializing BladeRF Source (bladerf_source) [01/02/2024 14:08:57.000] [ERROR] Could not list devices -7 [01/02/2024 14:08:57.000] [INFO] Initializing File Source (file_source) [01/02/2024 14:08:57.000] [INFO] Initializing Frequency Manager (frequency_manager) [01/02/2024 14:08:57.000] [INFO] Initializing HackRF Source (hackrf_source) [01/02/2024 14:08:57.000] [INFO] Initializing Hermes Source (hermes_source) [01/02/2024 14:08:57.000] [INFO] Initializing LimeSDR Source (limesdr_source) [01/02/2024 14:08:57.000] [INFO] Initializing Network Sink (network_sink) [01/02/2024 14:08:57.000] [INFO] Initializing PerseusSDR Source (perseus_source) [01/02/2024 14:08:57.000] [ERROR] Module 'perseus_source' doesn't exist [01/02/2024 14:08:57.000] [INFO] Initializing PlutoSDR Source (plutosdr_source) [01/02/2024 14:08:58.000] [INFO] Initializing RFspace Source (rfspace_source) [01/02/2024 14:08:58.000] [INFO] Initializing RTL-SDR Source (rtl_sdr_source) [01/02/2024 14:08:58.000] [INFO] Initializing RTL-TCP Source (rtl_tcp_source) [01/02/2024 14:08:58.000] [INFO] Initializing Radio (radio) [Resamp] predec: 8192, interp: 2000, decim: 441, inacc: 0.000000%, taps: 152000 [Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500 [Resamp] predec: 32, interp: 5000, decim: 7813, inacc: 0.000000%, taps: 593750 [Resamp] predec: 8192, interp: 2500, decim: 441, inacc: 0.000000%, taps: 190000 [Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500 [Resamp] predec: 4, interp: 441, decim: 625, inacc: 0.000000%, taps: 47500 [01/02/2024 14:08:58.000] [WARN] Demod switch took 48740 us [01/02/2024 14:08:58.000] [INFO] RtAudio stream open [01/02/2024 14:08:58.000] [INFO] Initializing Recorder (recorder) [01/02/2024 14:08:58.000] [INFO] Initializing Rigctl Server (rigctl_server) [01/02/2024 14:08:58.000] [INFO] Initializing SDR++ Server Source (sdrpp_server_source) [01/02/2024 14:08:58.000] [INFO] Initializing SDRplay Source (sdrplay_source) [01/02/2024 14:08:58.000] [ERROR] Module 'sdrplay_source' doesn't exist [01/02/2024 14:08:58.000] [INFO] Initializing SpyServer Source (spyserver_source) [01/02/2024 14:08:58.000] [INFO] Loading color maps [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/inferno.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/viridis.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/websdr.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/temper_colors.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/smoke.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/classic.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/electric.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/greyscale.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/magma.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/classic_green.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/plasma.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/turbo.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/vivid.json [01/02/2024 14:08:58.000] [INFO] Loading /usr/share/sdrpp/colormaps/gqrx.json [Resamp] predec: 32, interp: 4, decim: 5, inacc: 0.000000%, taps: 380 [01/02/2024 14:08:58.000] [INFO] New DSP samplerate: 10000000.000000 (source samplerate is 10000000.000000) [01/02/2024 14:08:58.000] [INFO] AirspySourceModule 'Airspy Source': Menu Select! [Resamp] predec: 32, interp: 4, decim: 5, inacc: 0.000000%, taps: 380 [Resamp] predec: 32, interp: 4, decim: 5, inacc: 0.000000%, taps: 380 [01/02/2024 14:08:58.000] [INFO] New DSP samplerate: 10000000.000000 (source samplerate is 10000000.000000) [Resamp] predec: 4, interp: 441, decim: 625, inacc: 0.000000%, taps: 47500 [01/02/2024 14:08:58.000] [INFO] RtAudio stream open [01/02/2024 14:08:58.000] [INFO] AirspySourceModule 'Airspy Source': Tune: 100000000.000000! [01/02/2024 14:08:58.000] [INFO] Running post-init for Airspy Source [01/02/2024 14:08:58.000] [INFO] Running post-init for AirspyHF+ Source [01/02/2024 14:08:58.000] [INFO] Running post-init for Audio Sink [01/02/2024 14:08:58.000] [INFO] Running post-init for Audio Source [01/02/2024 14:08:58.000] [INFO] Running post-init for BladeRF Source [01/02/2024 14:08:58.000] [INFO] Running post-init for File Source [01/02/2024 14:08:58.000] [INFO] Running post-init for Frequency Manager [01/02/2024 14:08:58.000] [INFO] Running post-init for HackRF Source [01/02/2024 14:08:58.000] [INFO] Running post-init for Hermes Source [01/02/2024 14:08:58.000] [INFO] Running post-init for LimeSDR Source [01/02/2024 14:08:58.000] [INFO] Running post-init for Network Sink [01/02/2024 14:08:58.000] [INFO] Running post-init for PlutoSDR Source [01/02/2024 14:08:58.000] [INFO] Running post-init for RFspace Source [01/02/2024 14:08:58.000] [INFO] Running post-init for RTL-SDR Source [01/02/2024 14:08:58.000] [INFO] Running post-init for RTL-TCP Source [01/02/2024 14:08:58.000] [INFO] Running post-init for Radio [01/02/2024 14:08:58.000] [INFO] Running post-init for Recorder [01/02/2024 14:08:58.000] [INFO] Running post-init for Rigctl Server [01/02/2024 14:08:58.000] [INFO] Running post-init for SDR++ Server Source [01/02/2024 14:08:58.000] [INFO] Running post-init for SpyServer Source [01/02/2024 14:08:58.000] [INFO] Ready. [01/02/2024 14:09:20.000] [INFO] Exiting successfully

AlexandreRouma commented 5 months ago

Welcome to linux, that's just how library versions work. Not a bug, follow #1311 for when 3.14 is supported in nightly builds.