You are not logged in.
Edit: the fix was to remove ~/.cache/spotify
I used spotify-launcher for a long time on my desktop PC without any issue. Now I'm trying to set up Spotify on my laptop, but with both spotify-launcher and the AUR installed version, Spotify just exits with exit status 1 and no useful output.
➜ ~ spotify
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
➜ ~ echo $?
1
➜ ~ spotify-launcher
[2024-05-04T14:40:06Z INFO spotify_launcher::config] Loading configuration file at "/etc/spotify-launcher.conf"
[2024-05-04T14:40:06Z INFO spotify_launcher] No update needed
spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
/home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify)
/home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify)
➜ ~ echo $?
1
➜ ~
The flatpak version works fine, but seems to struggle with playing local files. Any thoughts at all on what could be happening? I'm not sure if the gnutls warning is relevant or not. xorg-xwayland is installed.
I also tried forcing wayland in /etc/spotify-launcher.conf
extra_arguments = ["--enable-features=UseOzonePlatform", "--ozone-platform=wayland"]
but it made no difference.
I'm using up to date Arch with Gnome and GDM.
Thanks.
Last edited by themusicalduck (2024-05-05 16:13:07)
Offline
Do you have libcurl-gnutls installed? Compare it's library version(s) with what displays command 'ldd /path/to/your/spotify' or spotify-launcher binary ( "/usr/bin/spotify-launcher" from arch official package).
Last edited by xerxes_ (2024-05-04 18:30:16)
Offline
This is what I've found:
➜ ~ pacman -Ql libcurl-gnutls
libcurl-gnutls /usr/
libcurl-gnutls /usr/lib/
libcurl-gnutls /usr/lib/libcurl-gnutls.so
libcurl-gnutls /usr/lib/libcurl-gnutls.so.3
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.0.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.1.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.2.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.3.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.4.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.5.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.6.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.7.0
libcurl-gnutls /usr/lib/libcurl-gnutls.so.4.8.0
libcurl-gnutls /usr/share/
libcurl-gnutls /usr/share/licenses/
libcurl-gnutls /usr/share/licenses/libcurl-gnutls
➜ ~ ldd /opt/spotify/spotify | grep gnutls
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
libcurl-gnutls.so.4 => /usr/lib/libcurl-gnutls.so.4 (0x000073dfb2ed4000)
libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x000073dfa4a1f000)
➜ ~ stat /usr/lib/libcurl-gnutls.so
File: /usr/lib/libcurl-gnutls.so -> libcurl-gnutls.so.4
Size: 19 Blocks: 0 IO Block: 4096 symbolic link
Device: 259,2 Inode: 214568172 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-05-04 15:37:02.642046869 +0100
Modify: 2024-04-26 18:52:55.000000000 +0100
Change: 2024-05-04 15:37:01.632044899 +0100
Birth: 2024-05-04 15:37:01.632044899 +0100
/usr/lib/libcurl-gnutls.so seems to be symlinked to libcurl-gnutls.so.4. I can't see anything amiss here.
Offline
spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
/home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify)
/home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /home/theo/.local/share/spotify-launcher/install/usr/share/spotify/spotify)
Those don't block spotify-launcher from starting and are probably a red herring .
create a fresh user and test if it works for them.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I am having the same:
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
However in my case Spotify does run but it cannot play songs or display playlists. Same with spotify-launcher.
'create a fresh user and test if it works for them' - I did that, still having the same behaviour.
Offline
'create a fresh user and test if it works for them' - I did that, still having the same behaviour.
Right, because as they said, the behavior you're seeing is normal.
Offline
Tried it in a new user. Interestingly it didn't crash this time, but I got the exact same output and no window ever appears.
Offline