You are not logged in.

#1 2024-01-26 00:49:51

cluac
Member
Registered: 2023-08-01
Posts: 7

[SOLVED] Wrong version of shared objects in blender?

Recently I wanted to install blender, so to do so I installed the blender package from the extra repo as the archwiki states. Running blender after installing it tells me blender: error while loading shared libraries: libvpx.so.8: cannot open shared object file: No such file or directory. To see what libraries it specifically needed, I ran ldd $(which blender) | grep "not found" which output

libvpx.so.8 => not found  
libjxl.so.0.8 => not found  
libjxl\_threads.so.0.8 => not found  
librav1e.so.0.6 => not found

To check which version of these SOs I did have, I ran find /usr/lib -type f -name '[nameofSO].so.' which told me I had libvpx.so.8, libjxl.so.0.9.1 and librave1e.so.0.7.1, each of which is 1 version too new.

So to mitigate this, as I usually do with weird dependency errors, I installed it through flatpak. This version however is not built against the AMD HIP runtime, meaning it didn't support GPU acceleration with my rx6600, which isn't acceptable. Finally I also tried the binary from blenders website, which I believe also isn't built against the HIP runtime since when I select HIP in render settings it causes my PC to hang and I have to restart my display manager.

I think this leaves me with the only option of building blender against my own libraries myself, but this isn't really an option for me since I have a very slow internet connection, and running through these steps has already taken me multiple hours and I believe installing all the repos and building (possibly also installing gcc-11) could easily take up all my internet bandwidth and PC for upwards of a day.

Is there any other option to possibly install older versions of these libraries or any other way than building myself that I can try?

Thanks for any help you can provide

Last edited by cluac (2024-01-26 01:11:33)


windows wiped my gpt label so here I am ¯\_(ツ)_/¯

Offline

#2 2024-01-26 01:11:17

cluac
Member
Registered: 2023-08-01
Posts: 7

Re: [SOLVED] Wrong version of shared objects in blender?

Fixed it myself, running lddtree showed that all the broken objects were under `libavcodec`, so I installed `ffmpeg` to replace `ffmpeg-full` that I had before (I do remember `-full` having some issues before) and that fixed it.


windows wiped my gpt label so here I am ¯\_(ツ)_/¯

Offline

#3 2024-01-26 11:46:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,182

Re: [SOLVED] Wrong version of shared objects in blender?

So to mitigate this, as I usually do with weird dependency errors, I installed it through flatpak.

That's a bad idea in general and a very bad one in this case.

repo packages are build to work with repo packages. If you replace repo packages with aur versions, make sure to remember that.

You can use pacman -Qm to verify which pacakges you have that don't come from repos enabled in pacman.conf

Last edited by Lone_Wolf (2024-01-26 11:46:54)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB