You are not logged in.

#1 2024-04-24 13:15:58

Orikes
Member
Registered: 2024-04-24
Posts: 2

[SOLVED] mpv and krita requiring different versions of libunibreak.so

Yesterday I did

sudo pacman -S krita --overwrite \*

due to a conflict I now cannot exactly remember.


Then today I noticed that when trying to execute mpv it would be

mpv: error while loading shared libraries: libunibreak.so.5: cannot open shared object file: No such file or directory

and ffmpeg being

ffmpeg: error while loading shared libraries: libunibreak.so.5: cannot open shared object file: No such file or directory

If I do

sudo pacman -U file:///var/cache/pacman/pkg/libunibreak-5.1-1-x86_64.pkg.tar.zst

both would run fine but krita would be

krita: error while loading shared libraries: libunibreak.so.6: cannot open shared object file: No such file or directory

And if I update back

sudo pacman -S libunibreak

it would fall back to the first case.


How could I solve this? My mpv version is 1:0.38.0-2; ffmpeg being 2:6.1.1-7; and krita 5.2.2-8

Last edited by Orikes (2024-04-24 15:56:06)

Offline

#2 2024-04-24 13:17:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,614

Re: [SOLVED] mpv and krita requiring different versions of libunibreak.so

Check ffmpeg or mpv with lddtree from the pax-utils package, see where the actual problem is.

Last edited by Scimmia (2024-04-24 13:18:03)

Offline

#3 2024-04-24 15:49:48

Orikes
Member
Registered: 2024-04-24
Posts: 2

Re: [SOLVED] mpv and krita requiring different versions of libunibreak.so

So it turned out it was the outdated libass...

/usr/bin/mpv (interpreter => /lib64/ld-linux-x86-64.so.2)
    libass.so.9 => /usr/lib/libass.so.9
        libfribidi.so.0 => /usr/lib/libfribidi.so.0
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0
            libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
                libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0
            libgraphite2.so.3 => /usr/lib/libgraphite2.so.3
        libunibreak.so.5 => /usr/lib/libunibreak.so.5

After updating it the libunibreak.so dependencies went up to the .6 version fine. Lot of thanks Scimmia!

Offline

#4 2024-04-24 16:39:54

progandy
Member
Registered: 2012-05-17
Posts: 5,206

Re: [SOLVED] mpv and krita requiring different versions of libunibreak.so

I'd guess the reason for that outdated package was a partial upgrade, so now you know why that is unsupported. https://wiki.archlinux.org/title/System … nsupported

If you replaced a package with another version from the AUR instead like e.g. libass-git, then you need to frequently check if the repository package has been updated and rebuild your alternative package when necessary.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#5 2024-04-24 16:55:56

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,908
Website

Re: [SOLVED] mpv and krita requiring different versions of libunibreak.so

Why did/do you use '--overwrite \*'? That isn't something you should ever need to use.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB