When trying to run mpv I'm getting >>> mpv: error while loading shared libraries: libunibreak.so.3: cannot open shared object file: No such file or directory <<< despite it having no dependency in the ebuilds on it. I only have libunibreak.so.5 from dev-libs/libunibreak-5.1 on my system which seems to be only needed by app-text/fbreader-0.99.4-r6. my mpv useflags are: USE="X alsa cdda cli drm dvd egl iconv jack jpeg lcms libcaca libmpv libplacebo lua opengl pulseaudio uchardet vaapi vdpau vulkan xv zlib (-aqua) -archive -bluray (-coreaudio) -debug -dvb -gamepad -javascript (-mmal) -nvenc -openal -pipewire (-raspberry-pi) -rubberband -sdl (-selinux) -sixel -sndio -test -tools -wayland -zimg" LUA_SINGLE_TARGET="(luajit) (-lua5-1)" PYTHON_SINGLE_TARGET="python3_10 -python3_11 (-python3_12)" Dirty Workaround: ln -snf libunibreak.so.5 libunibreak.so.3 Reproducible: Always
Output of `lddtree /usr/bin/mpv`? The mpv build system does not seem to have any reference to unibreak (no headers, checks, nothing), so it may either be coming from a dependency or got injected by pkg-config for some reason.
lddtree says its an indirect dependency from libass: /usr/bin/mpv (interpreter => /lib64/ld-linux-x86-64.so.2) libass.so.9 => /usr/lib64/libass.so.9 libunibreak.so.3 => /usr/lib64/libunibreak.so.3 But I only set libcaca as useflag, so I wonder why it depends on libass as well.
(In reply to Simon from comment #2) > lddtree says its an indirect dependency from libass: > > /usr/bin/mpv (interpreter => /lib64/ld-linux-x86-64.so.2) > libass.so.9 => /usr/lib64/libass.so.9 > libunibreak.so.3 => /usr/lib64/libunibreak.so.3 > > But I only set libcaca as useflag, so I wonder why it depends on libass as > well. mpv (upstream) does not have an option to disable libass or subtitles support, it's always required. `emerge -1 libass` should make it use the new soname at least, so you won't need such a symlink. And see we already have a bug for that one. *** This bug has been marked as a duplicate of bug 911414 ***