OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 883 forks source link

MPD not starting after 6.95.3 update #4944

Open Hollol opened 8 years ago

Hollol commented 8 years ago

After updating to Openelec 6.95.3 my mpd setup stopped working. Actually the mpd is not starting any more. Calling mpd manually from shell gives me the following error:

mpd: error while loading shared libraries: libogg.so.0: cannot open shared object file: No such file or directory

So it seems, a shared library is missing after the update.

Hollol commented 8 years ago

I do not know, if it is welcome here to post this, but the above error is actually also appearing in LE with already a solution:

LibreELEC/LibreELEC.tv#334

ManuRhombea commented 7 years ago

I've found another feature failed due to this file missing: extracting audio CDs in Flac (same version: OpenElec 7 beta 3).

  1. Install the add-on "Flac Audio Encoder" from Kodi official repository.
  2. Configure Kodi to encode audio discs in Flac after insertion.
  3. Wait and look the nice error pop-up "Flac audio encoder can't load Dll" on this Linux system ;-)

Reading the logfile in .kodi/temp/kodi.log (in zip attached, line 717), I see: ERROR: Unable to load /storage/.kodi/addons/audioencoder.flac/audioencoder.flac.so, reason: libogg.so.0: cannot open shared object file: No such file or directory I've not found this library in /lib or /usr/lib.

kodi.zip

EpicVoyage commented 7 years ago

There is a similar issue in 7.0.1:

# mpd
mpd: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory

This is not the only library that it is missing:

# ldd mpd
[...]
libFLAC.so.8 => not found
libmad.so.0 => not found
libfaad.so.2 => not found
[...]
CvH commented 7 years ago

you have to rebuild them that they work with the current release, basically nobody cares about the unofficial addons at the "moment" so don't expect them working

EpicVoyage commented 7 years ago

Yeah, I expected that. This issue is "open" and I found it while checking who else had run into the same issue.

I have been able to work around it for now by creating the directory /storage/.kodi/addons/service.multimedia.mpd/lib and copying these 64-bit libraries to it from my machine: libFLAC.so.8, libfaad.so.2, libmad.so.0, libogg.so.0