Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: librespot/spotify crashing: error loading shared libraries libesound.ron2
#1
Hi everyone,

I recently upgraded to moode 9.1.5. Since the update, librespot won't start anymore and thus spotify connect is not working.

When trying to manually start librespot by calling the binary from command line, the following error is emitted


Quote:librespot: error while loading shared libraries: libesound.ron2: cannot open shared object file: No such file or directory


Anybody know how to fix this? To me it seems like a typo as I could only find the libasound library online and no libesound ...

By the way, my startup log is full of messages stating

20241206 234032 watchdog: Started Spotify Connect after crash detected
20241206 234042 watchdog: Started Spotify Connect after crash detected
20241206 234052 watchdog: Started Spotify Connect after crash detected
.
.
.

Best regards Blush
Reply
#2
@lenny95 

Very odd.

A quick check shows librespot is dependent on the following libraries


Code:
rho@sunroom:~ $ ldd /usr/bin/librespot
    linux-vdso.so.1 (0x0000007fbab7e000)
    libasound.so.2 => /lib/aarch64-linux-gnu/libasound.so.2 (0x0000007fb9f50000)
    libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007fb9f10000)
    libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007fb9e70000)
    libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fb9cc0000)
    /lib/ld-linux-aarch64.so.1 (0x0000007fbab41000)


If I naively invoke librespot from the command line with no options, it starts without complaining about any missing shared library (of course it fails in the end because of the missing options but that's a different matter).

Don't recognize the library named in your error message and have no idea where the name came from. Sorry.

Regards,
Kent
Reply
#3
Photo 
Hi Kent,

thanks for your reply. It is indeed very odd. Look what I get from invoking ldd:



Code:
lennard@hifi-receiver:~ $ ldd /usr/bin/librespot
    linux-vdso.so.1 (0x0000007fba4b9000)
    libesound.ron2 => not found
    libgcc_s/so.1 => not found
    libi&so,libc,so.6 => not found
    libc,so.6 => not found
Reply
#4
It's too weird... slashes, commas, ampersands, all instead of a dot... and that weirder .ron2
the fact that it does not find the files is no surprise, non oef them exists with that name... seems to me a "corrupted something somewhere".

Better do a reflash, IMHO
Reply
#5
Hi Nutul, thanks for your advice.

It's so weird that noone seems to share the problem, I don't know what I have done wrong :'D

Anyway, I could fix this by simply


Code:
sudo apt reinstall librespot


Spotify connect is working again and now with the beautiful cover art Smile
Reply
#6
Good to see nobody has been harmed in doing that... Yep, now the Spotify experience on moOde is already on another level.
Reply


Forum Jump: