Oct update: libmmal_util.so not found, kodi does not start

Hi,

could anybody help a little with this issue?
I see something like:

Nov 04 14:06:47 osmc sudo[600]:     root : TTY=unknown ; PWD=/ ; USER=osmc ; COMMAND=/usr/lib/kodi/kodi.bin --standalone -fs --lircdev /var/run/lirc/lircd
Nov 04 14:06:47 osmc sudo[600]: pam_unix(sudo:session): session opened for user osmc by (uid=0)
Nov 04 14:06:47 osmc mediacenter[436]: /usr/lib/kodi/kodi.bin: error while loading shared libraries: libmmal_util.so: cannot open shared object file: No such file or directory

The “missing” file is present on filesystem…
lddconfig says ok too

root@osmc:/var/log# ldconfig -p | grep libmmal
    libmmal_vc_client.so (libc6,hard-float) => /opt/vc/lib/libmmal_vc_client.so
    libmmal_util.so (libc6,hard-float) => /opt/vc/lib/libmmal_util.so
    libmmal_core.so (libc6,hard-float) => /opt/vc/lib/libmmal_core.so
    libmmal_components.so (libc6,hard-float) => /opt/vc/lib/libmmal_components.so
    libmmal.so (libc6,hard-float) => /opt/vc/lib/libmmal.so

Full logs are here: https://paste.osmc.tv/averifiqep

Anybody any idea?
Thanks in advance…

I’m at a slight disadvantage right now since I’ve borked remote access to my Pi3 and can only SSH to my Vero4K, which doesn’t use MMAL, so apologies if I make a few blunders.

First off what’s the output from running:

ldd /usr/lib/kodi/kodi.bin | grep -i mmal

Assuming it shows something sensible for libmmal_util.so, please then run:

dpkg -S <full path to libmmal_util.so>

hi,

thanks for the fast reply.

root@osmc:/var/log# ldd /usr/lib/kodi/kodi.bin | grep libmmal
    libmmal.so => /opt/vc/lib/libmmal.so (0xb636f000)
    libmmal_core.so => /opt/vc/lib/libmmal_core.so (0xb634f000)
    libmmal_util.so => not found
    libmmal_vc_client.so => /opt/vc/lib/libmmal_vc_client.so (0xb54e3000)
    libmmal_components.so => /opt/vc/lib/libmmal_components.so (0xb54c8000)
    libmmal_util.so => not found
    libmmal_util.so => not found

Yeah, the -S option returns rbp-userland-osmc, so I reinstalled it with

apt-get install rbp-userland-osmc --reinstall 

and it helped :slight_smile:

thanks for pointing the direction :slight_smile:

1 Like