# Spotifyd Dependency Issue

**URL:** <https://dietpi.com/forum/t/spotifyd-dependency-issue/24837>\
**Category:** Troubleshooting\
**Created:** [2 January 2026 20:15 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837 "2026-01-02T20:15:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rothchild](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rothchild](https://dietpi.com/forum/u/rothchild)\
**Post date:** [2 January 2026 20:15 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/1 "2026-01-02T20:15:28Z")

</div>

### Creating a bug report/issue

I have searched the existing open and closed issues

#### Required Information

- DietPi version | G\_DIETPI\_VERSION\_CORE=9  
G\_DIETPI\_VERSION\_SUB=20  
G\_DIETPI\_VERSION\_RC=1
- Distro version | `Trixie`
- Kernel version | 6.12.58-current-sunxi #1 SMP Thu Nov 13 20:34:41 UTC 2025 armv7l GNU/Linux
- Architecture | `armhf`
- SBC model | `Nanopi Neo`
- Power supply used | 5V 3A
- SD card used | sandisk

#### Additional Information (if applicable)

- Software title | Spotifyd
- Was the software title installed freshly or updated/migrated? - Fresh installation

#### Steps to reproduce

1. Fresh installation
2. use dietpi-software
3. select and install spotifyd

#### Expected behaviour

- edit /mnt/dietpi\_userdata//spotifyd/spotifyd.conf with necessary details
- systemctl restart spotifyd
- spotifyd should run

#### Actual behaviour

/opt/spotifyd/spotifyd: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [3 January 2026 01:23 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/2 "2026-01-03T01:23:31Z")

</div>

LibSSL1.1 is not available anymore in Debian Trixie but spotifyd depends on it. Last it was available on Debian Bullseye I guess.

```sh
root@DietPi7:~/spotifyd# /opt/spotifyd/spotifyd
/opt/spotifyd/spotifyd: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

```

So I build a version statically linked against OpenSSL3 and tested it on my RPi 3:

```bash
root@DietPi7:~# uname -a
Linux DietPi7 6.12.47+rpt-rpi-v7 #1 SMP Raspbian 1:6.12.47-1+rpt1 (2025-09-16) armv7l GNU/Linux

root@DietPi7:~# ./spotifyd --version
spotifyd 0.4.2

root@DietPi7:~# ./spotifyd --no-daemon
[INFO] No config file specified. Running with default values
[INFO] Using software volume controller.
[INFO] Mixing with softvol and volume control: Log(60.0)
[INFO] Starting zeroconf server to advertise on local network.

```

and from other terminal

```bash
root@DietPi7:~/spotifyd# ss -tulpn
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:(("spotifyd",pid=11974,fd=10))
udp UNCONN 0 0 *:5353 *:* users:(("spotifyd",pid=11974,fd=11))
tcp LISTEN 0 1000 0.0.0.0:22 0.0.0.0:* users:(("dropbear",pid=1475,fd=3))
tcp LISTEN 0 1000 [::]:22 [::]:* users:(("dropbear",pid=1475,fd=4))
tcp LISTEN 0 128 *:39073 *:* users:(("spotifyd",pid=11974,fd=9))

```

First attempt on the RPi3 failed due to lack of RAM, so I cross-compiled it on WSL2 on my desktop machine.

[You can download it here.](https://cloud.mudokon.de/s/zoIcEXaNjyJDJqC)  
If you don’t trust it I can share the steps and you can compile it yourself.

---

<div class="post-metadata">

**Author:** ![rothchild](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rothchild](https://dietpi.com/forum/u/rothchild)\
**Post date:** [3 January 2026 09:02 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/3 "2026-01-03T09:02:26Z")

</div>

Brilliant, thank you.

One (very) dumb question - where does the compiled library need to go?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [3 January 2026 11:49 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/4 "2026-01-03T11:49:38Z")

</div>

Somehow this is know. At least I found similar on `spotifyd` GitHub. A workaround might be - [update librespot to current git version by eladyn · Pull Request #1374 · Spotifyd/spotifyd · GitHub](https://github.com/Spotifyd/spotifyd/pull/1374#issuecomment-3523281540)

Seems to be easier compare to do cross compiling 😉

---

<div class="post-metadata">

**Author:** ![rothchild](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rothchild](https://dietpi.com/forum/u/rothchild)\
**Post date:** [3 January 2026 12:36 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/5 "2026-01-03T12:36:52Z")

</div>

Thanks, yes in my investigation as to what to do with the file that Jappe provided I realised I could do that so installed the bullseye version of the package and I’m all up and running now.

Thanks!

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [3 January 2026 14:07 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/6 "2026-01-03T14:07:43Z")

</div>

This is a compiled binary, just replace the old one. I guess it’s in `/opt/spotifyd/`

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [3 January 2026 14:09 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/7 "2026-01-03T14:09:21Z")

</div>

Can you share what you’ve installed?  
In the linked github issue they install

```auto
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb
sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_arm64.deb
sudo dpkg -i openssl_1.1.1f-1ubuntu2_arm64.deb

```

but I think this will not work on an `armhf` system?

### edit:

ah okay they have also armhf version of the package  
[http://ports.ubuntu.com/pool/main/o/openssl/openssl\_1.1.1f-1ubuntu2\_armhf.deb](http://ports.ubuntu.com/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2_armhf.deb)

---

<div class="post-metadata">

**Author:** ![rothchild](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rothchild](https://dietpi.com/forum/u/rothchild)\
**Post date:** [3 January 2026 14:44 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/8 "2026-01-03T14:44:10Z")

</div>

I went with this one to keep things debian: [Debian -- Package Download Selection -- libssl1.1\_1.1.1w-0+deb11u4\_armhf.deb](https://packages.debian.org/bullseye/armhf/libssl1.1/download)

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [3 January 2026 16:55 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/9 "2026-01-03T16:55:37Z")

</div>

We will have a closer look what happened to `spotifyd`. Maybe they introduced an issue to the latest version. However its outside our responsibility. We might be able to assist, but its up to `spotifyd` developers to fix.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [3 January 2026 21:12 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/10 "2026-01-03T21:12:03Z")

</div>

Not sure at which point the regression happened. We tested it successfully on all architecture+distro combinations before switching our stable images from Bookworm to Trixie this summer. Issue is that the cross-compiling tool they use pulls _very_ outdated Docker images with Ubuntu 20.04 to build the binaries. Their own CI/CD uses Ubuntu 22.04 runners, hence for x86\_64 the issue does not exist.

This will solve it for `aarch64`, and speed up their CI/CD: [ci: build aarch64 natively by MichaIng · Pull Request #1387 · Spotifyd/spotifyd · GitHub](https://github.com/Spotifyd/spotifyd/pull/1387)

For `armv7l` it is not so easy, since this requires a `armhf` toolchain even that the GitHub ARM(v8) runners can execute `armv7l` binaries. As mentioned in the PR, there is a PR open at that cross-compiling tool to update their Docker images to Ubuntu 24.04. It is however over 1 year old, so I wouldn’t put too much hope in this being merged soon.

Installing EOL libssl1.1 is a worst case workaround, but nothing I’ll promote to the masses, for security reasons alone.

Let’s see the reaction to my PR which solves it at least for the majority of our (and their) users.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [3 April 2026 21:12 UTC](https://dietpi.com/forum/t/spotifyd-dependency-issue/24837/11 "2026-04-03T21:12:41Z")

</div>

Closed on 3 April 2026 21:12 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
