Artix Linux Forum

Artix Linux => Package management => Topic started by: manoca on 06 September 2021, 11:50:38

Title: [SOLVED]Issue with blender dependencies
Post by: manoca on 06 September 2021, 11:50:38
My blender refuses to start. Here's the message:
Quote
blender: error while loading shared libraries: libOpenEXR-3_0.so.28: cannot open shared object file: No such file or directory
I checked for the openexr package and of course it is correct, I do not have openexr-3_0 but openexr-3.1.1-1 installed. I downgraded from cache:
Quote
sudo pacman -U /var/cache/pacman/pkg/openexr-3.0.1-2-x86_64.pkg.tar.zst
but now libiex is not the right version(which it would be with the up-to-date version of openexr):
Quote
blender: error while loading shared libraries: libIex-3_1.so.30: cannot open shared object file: No such file or directory
I tried every package version from cache and updated blender to the newest version. Nothing worked.
Questions:
- how is it possible, that blender does not work with any of the packages from cache(it worked a while ago, so there should be a working openexr in cache)?
- any hints on how to fix that?

Title: Re: Issue with blender dependencies
Post by: ndowens on 06 September 2021, 15:42:13
blender is in Arch's repo and looks like they didn't rebuild it for the openexr rebuild.
Title: Re: Issue with blender dependencies
Post by: manoca on 06 September 2021, 15:45:06
yes, i got it out of the arch repo. So I'd have to build it on myself then, I guess(of which I have no idea on how to :D)?
Title: Re: Issue with blender dependencies
Post by: ndowens on 06 September 2021, 15:46:14
yes, i got it out of the arch repo. So I'd have to build it on myself then, I guess(of which I have no idea on how to :D)?

That and/or file a bug report at Arch to let them know it needs a rebuild.
Title: Re: Issue with blender dependencies
Post by: manoca on 06 September 2021, 15:54:21
OK. Thanks for this hint. I'll see what I can do on the build it myself part then :D
Title: Re: [SOLVED]Issue with blender dependencies
Post by: strajder on 06 September 2021, 15:56:34
So I'd have to build it on myself then, I guess(of which I have no idea on how to :D)?

https://tldp.org/HOWTO/Software-Building-HOWTO.html
https://tldp.org/HOWTO/pdf/Software-Building-HOWTO.pdf

There was topic recently (https://forum.artixlinux.org/index.php/topic,2994.msg19451.html#msg19451) with a similar question about Discord. First check any variation of INSTALL, INSTALL.txt, INSTALL.md, README, README.md in the source archive, and if that fails, general procedure on compiling and installing GNU/Linux programs from source.
Title: Re: [SOLVED]Issue with blender dependencies
Post by: manoca on 06 September 2021, 17:15:27
Thanks for the hints. I'll have a look at the linked documentation for that.
Title: Re: [SOLVED]Issue with blender dependencies
Post by: manoca on 06 September 2021, 23:48:21
As my bug report got closed and I got advice to ask in the forum, here I am again...
Statement of the bug report: it is no bug, as the dependencies do not list
 libOpenEXR-3_0.so.28
but
 libOpenEXR-3_1.so.30
which is correct according to this https://archlinux.org/packages/extra/x86_64/openexr/

googling around and learning about things I stumbled upon ldd

I get this output:

[manoca@IT-MOB-MANOCA ~]$ ldd /usr/bin/blender | grep -i "openexr"
 libOpenEXR-3_1.so.30 => /usr/lib/libOpenEXR-3_1.so.30 (0x00007f45a8616000)
 libOpenEXR-3_0.so.28 => not found

Can someone please explain why and/or give me a hint on what to read to learn more or less easily?
Title: Re: [SOLVED]Issue with blender dependencies
Post by: ndowens on 07 September 2021, 00:24:47
I installed blender and I have no issue launching it, so it's possible that your Arch and/or Artix mirror is out of date
Title: Re: [SOLVED]Issue with blender dependencies
Post by: manoca on 08 September 2021, 11:02:22
my mirror is out of date? I did a pacman -Syu, which should update them? Or am I wrong?
btw: for whatever reason blender is now working. I removed the blender package, and reinstalled it once more(this time I rebooted the machine as well) and now it works. Same version of blender and same version of openexr. So I do not understand why that is, but I think it's a BCAKE as always.
Thanks for all your hints and time :)