Skip to content

installation with script fails on raspi zero 2 #98

Closed

Description

@starfetch

Hi,
since the new recommended cli is now the cpp-cli instead of the python-cli, I wanted to install it on my raspberry pi zero 2. I tried running the installer script, but it fails with /usr/local/bin/sendspin-cli: error while loading shared libraries: libdns_sd.so.1: cannot open shared object file: No such file or directory.

What could be the issue here?

Attached is the full output of the script:

~ $ curl -fLO https://raw.githubusercontent.com/Sendspin/sendspin-cpp-cli/main/scripts/get_started_linux.sh
less get_started_linux.sh
chmod +x get_started_linux.sh
./get_started_linux.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21107  100 21107    0     0  40313      0 --:--:-- --:--:-- --:--:-- 40434
sendspin-cli getting started
  host:         Linux aarch64, arm64 userland  (Raspberry Pi Zero 2 W Rev 1.0)
  release leg:  linux-arm64
  systemd:      yes

==> Finding the release to install
  v0.4.0  ->  sendspin-cli-0.4.0-linux-arm64.tar.gz

==> Downloading and verifying
######################################################################### 100.0%
sendspin-cli-0.4.0-linux-arm64.tar.gz: OK

==> These are the commands that need root

  sudo tar -xzf /tmp/tmp.MdYAtdJ6F5/sendspin-cli-0.4.0-linux-arm64.tar.gz --strip-components=1 -C / sendspin-cli-0.4.0-linux-arm64/usr
  sudo cp /usr/local/share/doc/sendspin-cli/sendspin-cli.conf.example /etc/sendspin-cli.conf
  sudo systemd-sysusers
  sudo systemctl daemon-reload
  sudo systemctl enable sendspin-cli
  sudo /usr/local/bin/sendspin-cli -l

Naming 'sendspin-cli-0.4.0-linux-arm64/usr' is what keeps the archive's BUILD-INFO.txt out of /.
'systemd-sysusers' creates the unprivileged 'sendspin-cli' account the unit runs as,
reading the declaration the line above it installs at /usr/local/lib/sysusers.d/sendspin-cli.conf.
It adds nothing else and is idempotent. Without it the unit does not start at all.
There is no /etc/sendspin-cli.conf yet, so the installed example is copied there for you to edit.
Every line in it is commented out, so it chooses nothing on its own.
No 'output' is set in /etc/sendspin-cli.conf, so the unit is enabled but NOT started: under
systemd there is no PipeWire for ALSA's 'default' to follow, and starting it now
would usually mean a player failing and being retried every five seconds. The
device list is printed instead, and starting it is the last thing you do.
Everything else this script does is reading.

Run them? [y/N] y

==> Installing
  /usr/local/bin/sendspin-cli
/usr/local/bin/sendspin-cli: error while loading shared libraries: libdns_sd.so.1: cannot open shared object file: No such file or directory

Activity

  1. chrisuthe commented on Oct 27, 2026

    @chrisuthe
    Member

    This should be supported in the latest versions now, we covered it with CI as well, which makes sure it runs. Thank you for the detailed report @starfetch !

  2. starfetch commented on Oct 29, 2026

    @starfetch
    Author

    Thanks for the quick response! Script works nicely now, keep up the good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions