Skip to content

SDRPlay API 3.12: /usr/local/lib/libsdrplay_api.dylib shm_open: No such file or directory #1644

Closed
@winstonsf

Description

@winstonsf

sdrtrunk Version
sdr-trunk-osx-aarch64-v0.6.0-alpha7

Describe the bug
Unable to open /libsdrplay_api.dylib

To Reproduce
Steps to reproduce the behavior:

  1. Run ./sdr-trunk from /bin or double click icon from bin folder
  2. See error
    i.g.d.s.t.s.api.SDRplay - Loading API Library from default install path: /usr/local/lib/libsdrplay_api.dylib [12MB/256MB 4%]
    shm_open: No such file or directory

Expected behavior
SDRplay API 3.12 should be loaded and RSPduo tuner should be found

Application Log
2023-08-28 20:57:40.398 INFO i.g.d.icon.IconModel - loading icons file [/var/root/SDRTrunk/settings/icons.xml] [14MB/256MB 5%]
2023-08-28 20:57:40.400 INFO i.g.d.icon.IconModel - Icons file not found at [/var/root/SDRTrunk/settings/icons.xml] [14MB/256MB 5%]
2023-08-28 20:57:40.582 INFO i.g.d.log.ApplicationLog - Application Log File: /var/root/SDRTrunk/logs/sdrtrunk_app.log [21MB/256MB 8%]
2023-08-28 20:57:40.604 INFO i.g.d.log.ApplicationLog - SDRTrunk Version : 0.6.0-alpha7 [6MB/256MB 2%]
2023-08-28 20:57:40.604 INFO i.g.d.log.ApplicationLog - Gradle Version : Gradle 8.2 [6MB/256MB 2%]
2023-08-28 20:57:40.604 INFO i.g.d.log.ApplicationLog - Build Timestamp : 2023-07-14T07:14:49.022-0400 [6MB/256MB 2%]
2023-08-28 20:57:40.604 INFO i.g.d.log.ApplicationLog - Build-JDK : 20.0.1 (BellSoft 20.0.1+10 [6MB/256MB 2%]
2023-08-28 20:57:40.604 INFO i.g.d.log.ApplicationLog - Build OS : Linux (amd64 5.19.0-46-generic [6MB/256MB 2%]
2023-08-28 20:57:40.604 INFO i.g.d.log.ApplicationLog - [6MB/256MB 2%]
2023-08-28 20:57:40.604 INFO i.g.d.log.ApplicationLog - ******************************************************************* [6MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - **** sdrtrunk: a trunked radio and digital decoding application *** [6MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - **** website: https://github.com/dsheirer/sdrtrunk *** [6MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - ******************************************************************* [6MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Memory Logging Format: [Used/Allocated PercentUsed%] [6MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Host OS Name: Mac OS X [6MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Host OS Arch: aarch64 [7MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Host OS Version: 14.0 [7MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Host CPU Cores: 10 [7MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Host Max Java Memory: 4 GB [7MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Storage Directories: [7MB/256MB 2%]
2023-08-28 20:57:40.605 INFO i.g.d.log.ApplicationLog - Application Root: /var/root/SDRTrunk [7MB/256MB 2%]
2023-08-28 20:57:40.606 INFO i.g.d.log.ApplicationLog - Application Log: /var/root/SDRTrunk/logs [7MB/256MB 2%]
2023-08-28 20:57:40.606 INFO i.g.d.log.ApplicationLog - Event Log: /var/root/SDRTrunk/event_logs [7MB/256MB 2%]
2023-08-28 20:57:40.606 INFO i.g.d.log.ApplicationLog - Playlist: /var/root/SDRTrunk/playlist [7MB/256MB 2%]
2023-08-28 20:57:40.606 INFO i.g.d.log.ApplicationLog - Recordings: /var/root/SDRTrunk/recordings [7MB/256MB 2%]
2023-08-28 20:57:40.647 INFO i.g.d.util.ThreadPool - Application thread pool created SCHEDULED and CACHED executors threads [10MB/256MB 4%]
2023-08-28 20:57:40.648 INFO i.g.dsheirer.gui.SDRTrunk - Home path: /var/root/SDRTrunk [10MB/256MB 4%]
2023-08-28 20:57:40.648 INFO i.g.d.p.SystemProperties - SystemProperties - loaded [/var/root/SDRTrunk/SDRTrunk.properties] [10MB/256MB 4%]
2023-08-28 20:57:40.648 INFO i.g.d.p.SystemProperties - SystemProperties - application properties loaded [/var/root/SDRTrunk/SDRTrunk.properties] [10MB/256MB 4%]
2023-08-28 20:57:40.655 INFO i.g.d.s.t.m.TunerManager - Discovering tuners ... [11MB/256MB 4%]
2023-08-28 20:57:40.872 INFO i.g.d.s.t.m.TunerManager - LibUsb API Version: 1.0.264 [11MB/256MB 4%]
2023-08-28 20:57:40.873 INFO i.g.d.s.t.m.TunerManager - LibUsb Version: 1.0.24.11584 [11MB/256MB 4%]
2023-08-28 20:57:40.878 INFO i.g.d.s.t.m.TunerManager - LibUsb - discovered [5] potential usb devices [11MB/256MB 4%]
2023-08-28 20:57:40.880 INFO i.g.d.s.t.m.TunerManager - LibUsb - starting HotPlug detection [11MB/256MB 4%]
2023-08-28 20:57:40.894 INFO i.g.d.s.t.s.api.SDRplay - Loading API Library from default install path: /usr/local/lib/libsdrplay_api.dylib [12MB/256MB 4%]
shm_open: No such file or directory
2023-08-28 20:57:40.928 INFO i.g.d.s.t.s.api.SDRplay - API library - open status: Fail [9MB/34MB 28%]
2023-08-28 20:57:40.928 ERROR i.g.d.s.t.m.TunerManager - Couldn't load SDRPlay API [10MB/34MB 30%]
2023-08-28 20:57:40.930 INFO i.g.d.s.SettingsManager - SettingsManager - loading settings file [/var/root/SDRTrunk/settings/settings.xml] [10MB/34MB 30%]
2023-08-28 20:57:41.108 WARN i.g.d.v.VectorUtilities - CPU supports maximum SIMD instructions of Species[float, 4, S_128_BIT] [16MB/38MB 43%]

Desktop (optional - complete the following information):

  • OS: Sonoma 14.0 beta 23A5328b
  • CPU Cores: M2 Pro
  • RAM: 16GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions