Launching bundled MPV binary manually on linux

When trying to launch the bundled mpv binary from the command line on linux, some shared libraries won’t be found.

$ karaokemugen-app/app/bin/mpv --version
$ karaokemugen-app/app/bin/mpv: error while loading shared libraries: libdav1d.so.5: cannot open shared object file: No such file or directory

I remember there had to be specified a library folder when launching it manually, but not which parameter it was.

What’s the command to launch the mpv binary manually?

You need to setup the env var LD_LIBRARY_PATH="." mpv --version for it to work

Executing LD_LIBRARY_PATH="." ./mpv --version in the karaokemugen-app/app/binfolder makes it run, thanks

1 Like