libIlmImf.so.2 vs Fedora Core 6

It appears that yafray does not work under Fedora Core 6. Installs fine (RPM) but using the renderer, results in…

yafray: error while loading shared libraries: libIlmImf.so.2:
cannot open shared object file: No such file or directory

…and then the rendering just halts. Usually I install RPMs via command line. Installing via GUI (clicking the RPM icon) seemed to reveal an empty archive (nothing showing on the list of what is to be installed). It this a FC6 issue or is the RPM itself corrupt?

Anyone manage to get yafray working on Fedora Core 6? I’m waiting for the yafray forum admin to set me up before I can post a similar thread there.

You’re simply missing OpenEXR…
Since the RPM is not made for a specific distribution, giving dependencies would probably do more bad that good.

Missing EXR? That’s strange. There are two versions on offer… one with and one without EXR support; I was using the yafray-0.0.9-2-noexr.i386.rpm version.Still, I’ll try some of the other packages and see how I go.

Okay…then someone did something wrong :smiley:

That shared library is most definitely part of OpenEXR. Will have to ask Luis what happened there…

Btw, compiling yourself is not that hard either…i’d generally recommend it to linux users, since everything you need should be installed with a few clicks on any major distribution (like C++ compiler, scons and the few “standard” libs)

I have now tried with both yafray RPMs, along with both RPM and source installs of openexr and openexr-dev. I’m still getting the same error every time. Only gong to try a complete reboot and see if it makes any difference.

Reboot did not work

I think I know what they’ve done. Yafray is wanting so.2 versions of the libs, but the installed ones are so.4

Here’s what happened when I tried to link them just to get it to go…

[[email protected] ~]# yafray
yafray: error while loading shared libraries: libIlmImf.so.2: cannot open shared object file: No such file or directory
[[email protected] ~]# cd /usr/lib
[[email protected] lib]# ln libIlmImf.so.4 libIlmImf.so.2
[[email protected] lib]# yafray
yafray: error while loading shared libraries: libImath.so.2: cannot open shared object file: No such file or directory
[[email protected] lib]# ln libImath.so.4 libImath.so.2
[[email protected] lib]# yafray
yafray: error while loading shared libraries: libIex.so.2: cannot open shared object file: No such file or directory
[[email protected] lib]# ln libIex.so.4 libIex.so.2
[[email protected] lib]# yafray
yafray: error while loading shared libraries: libHalf.so.2: cannot open shared object file: No such file or directory
[[email protected] lib]# ln libHalf.so.4 libHalf.so.2
[[email protected] lib]# yafray

Starting YafRay ...
Usage: yafray [options] <file to render>

Options :
        -s Render using the specified strategy.  Valid values are
                "threaded": Multi-threaded (default)
                "mono": Single process
                "fork": Multi-process

        -c N    Number of threads/processes to use
        -z      Use Net optimized

        -p <PATH>       Specify alternative plugin path

        -r min_x:max_x:min_y:max_y      Render region, values between -1 and 1
                                        whole image is -r -1:1:-1:1

        -v      YafRay Version

Yayyy! Could it be that now I’ve cracked it?
On trying a a yafray render from blender…

Loading plugins from '/usr/lib/yafray'...
Registered photonlight
Registered basicshaders
Registered globalphotonlight
Registered softlight
Registered pointlight
Registered sss
Registered basicblocks
Registered sunsky
Registered Shader Background
Registered blendershaders
Registered mix block
Registered HDRI background
Registered arealight
Registered pathlight
Registered sunlight
Registered spotlight
Registered spherelight
Registered hemilight
found 18 plugins!
YafRay plugin loaded
Segmentation fault

:frowning: Damn. This never happended with earlier versions of Fedora.

Hi Lancer.

I was in your position a few weeks ago.

I’m using Fedora Core 6 and yafray works fine.

You need to compile Yafray from source. The RPM won’t work. I’ve sent the yafray developer team an email and this was a few weeks ago.

I haven’t got any reply yet. So I don’t think you should wait for them.

The guys on IRC chat, on the #blenderchat channel showed me how to compile yafray using scons command in the shell.

So try compiling from source, it should work fine once you have it compiled.