Skip to main content
Topic: [SOLVED] Unsolved Shared Libraries (Read 575 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Unsolved Shared Libraries

Problem:

KhronosGroup (among which contributor developers are Microsoft Corporation) provides core graphic components for Artix/Arch like glslang library.

If you downgrade the glslang to the previous version it will create two major problems:

1. You downgrade glslang to the previous version and ignore the package in pacman.conf
2. You downgrade the package and do not ignore the package in pacman.conf

In the fist instance you immediately will break the core graphic system components and will break the system. Among things that depend on the glslang are mesa, dalvik, nvdpau, libva-mesa-driver and so on. On a rolling release like Artix/Arch all new core system components will be build against the current/latest version of glslang library ("glslang-latest"). If you downgade and keep the old version of glslang your system will heavily break.

In the second instance if you downgrade, but not ignore the package, the moment you do update ($ pacman -Syyu) you will get the new glslang, so your downgrade is a moot point. This will result in the same problem again for which you downgraded the package in the first place (here: missing libglslang-default-resource-limits.so.12, because the new version of glslang does not have this .so library, but the old version had adn you need it).

Result:

1. Broken system
2. Problem not solved.

What provides libglslang-default-resource-limits.so.12 ? Old glslang.
What does not provide libglslang-default-resource-limits.so.12? New glslang.

On top of it in "the problem solved" it is stated that libglslang-default-resource-limits.so.12 was provided by libplacebo. Libplacebo does not provide libglslang-default-resource-limits.so.12 and never did. Niether old nor new version of libplacebo provided libglslang-default-resource-limits.so.12. The only library that provided libglslang-default-resource-limits.so.12 was the old version of glslang. The new version of glslang does not provide libglslang-default-resource-limits.so.12.

libglslang-default-resource-limits.so.12 is required for all version of mpv including the latest 0.36.x If its missing mpv and mpv GUIS will not work at all and will not start.

Downgrading core graphic components is not a solution at all. The solution is building new version of mpv that is compatible with the latest version of glslang.

Re: Unsolved Shared Libraries

Reply #1

 Omg that glslang broke my mpv, can't use it 'error while loading shared libraries: libglslang-default-resource-limits.so.12'

 Hope this to get a fix quick.


Re: Unsolved Shared Libraries

Reply #2

 Problem has been fixed.

libplacebo package was updated so it fixed whatever glslang broke.