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

Spotifyd not an executable? #1294

Closed
stevenveenma opened this issue Jul 30, 2024 · 3 comments
Closed

Spotifyd not an executable? #1294

stevenveenma opened this issue Jul 30, 2024 · 3 comments
Labels
bug A functionality or parts of a program that do not work as intended

Comments

@stevenveenma
Copy link

Description
After downloading and installing spotifyd the file is there but not starting up:
which spotifyd gives /usr/bin/spotifyd proves the file is there
/usr/bin $ spotifyd --no-daemon gives bash: /usr/bin/spotifyd: No such file or directory
ldd /usr/bin/spotifyd gives not a dynamic executable
/usr/bin $ ls -l /usr/bin/spotifyd
-rwxr-xr-x 1 1001 saned 16183544 May 3 2023 /usr/bin/spotifyd again proves the file is there and rights are ok.

To Reproduce
0. use /usr/bin folder
1 sudo wget https://github.com/Spotifyd/spotifyd/releases/download/v0.3.5/spotifyd-linux-armv6-slim.tar.gz
2. sudo tar xzf spotifyd-linux-armv6-slim.tar.gz
3. A proper .conf file and spotify.services have been made

Expected behavior
Spotify should start up and should be visible in clients

Logs
-- verbose is not usable as the file reports as a non-executable

Versions (please complete the following information):

  • Spotifyd: 3.5
  • Raspberry Pi 3 Model B Rev 1.2
  • OS: Debian 20231012~bullseye v11
  • Backend is alsa and an external soundcard
@stevenveenma stevenveenma added the bug A functionality or parts of a program that do not work as intended label Jul 30, 2024
@eladyn
Copy link
Member

eladyn commented Jul 30, 2024

You're probably running aarch64 on your Pi, right? In this case, you'd need to enable the 32bit architecture first. I hope to merge this PR soon, but in the meantime, see #1243 for documentation.

Edit: And also make sure that the file is marked as executable, as you didn't list that in your reproduction steps.

@stevenveenma
Copy link
Author

Thanks for your quick reply. I am surprised, why is aarch64 not supported by default? And why is this not mentioned in the wiki? It took me hours and hours trying and debugging yesterday. I knew it should work and was working well on my old setup, but I think many first time users would have quit. I am aware spotifyd is a community effort and this is done by people in their spare time, but one additional sentence in the wiki.....

Using the modified documentation you referred to I first tried ## Option 1: Compiling the 64 bit version but the rust toolchain doesn't want to be installed and my RPI crashed twice. ## Option 2: Add the 32 bit architecture is easier and succeeded in a few minutes. Spotify finally showed up in my client.

I spent some time figuring out my ecasound and alsa setup and installed my biquads and finally my active 4 channel digital filtered speakers are playing again with Spotify as source.

@eladyn
Copy link
Member

eladyn commented Jul 31, 2024

I'm sorry this caused you so much trouble. I hope to be able to merge the mentioned PR in the next few days. And the docs really need some love, for sure! I'm not entirely sure on the aarch64 situation, it has been some time since I last looked at our workflows. But there's a tracking issue for that one here.

And good point regarding the order of the options. I will make sure to swap them and/or mark the one as recommended when I merge it.

@eladyn eladyn closed this as completed Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A functionality or parts of a program that do not work as intended
Projects
None yet
Development

No branches or pull requests

2 participants