Open Jerroder opened 2 years ago
I also encountered the same problem jellyfinmediaplayer: error while loading shared libraries: libcec.so.6: cannot open shared object file: No such file or directory deepin20.3
Just found the solution: it is fixed by running apt install libcec6
. It creates a symlink from libcec.so.6.0.2
to libcec.so.6
, that's why it didn't appear on pkgs.org.
Would be good to add it as a dependency when installing the .deb.
It should already be a dependency. https://github.com/jellyfin/jellyfin-media-player/blob/320b8f05935b34498b4833b81efd5e5796088e41/debian/control#L49
Installing a deb package with dpkg directly does not install dependencies. You need to do apt install ./somefile.deb
.
thank!
Deepin20.3 official software source does not have libcec6, and Debian source needs to be added
apt update
apt install libcec6
Delete Debian source again
apt update
Avoid unknown errors
It should already be a dependency.
I had libcec4 installed, and it didn't work because it needs libcec6. The dependency file wants one or the other, so it's incorrect.
Installing a deb package with dpkg directly does not install dependencies. You need to do
apt install ./somefile.deb
.
I've always installed deb with dpkg -i xxx.deb
and got an error if a dependency wasn't met, then run apt -f install
to install them, as explained here.
You need to do
apt install ./somefile.deb
.
I just did this and got the error anyway. Tried with 1.8.1 over 1.7.1 and then uninstalled and tried again.
it is fixed by running
apt install libcec6
but this works
if this is still an issue please open a PR to resolve it that removes the libcec4 option.
Describe the bug I can't start jellyfin on Ubuntu 22.04 because libcec.so.6 is missing:
jellyfinmediaplayer: error while loading shared libraries: libcec.so.6: cannot open shared object file: No such file or directory
. Problem is, that library doesn't exist for Ubuntu.To Reproduce Steps to reproduce the behavior:
Expected behavior Add the dependency somewhere or use another one maybe?
Desktop (please complete the following information):
sudo dpkg -i jellyfin-media-player_1.7.0-1_amd64-jammy.deb
Additional context The previous version (1.6.1) was working flawlessly.