Description of problem: Hardcoded library paths in blender source point to /usr/lib and /usr/lib/yafray which is not where the 64 bit plugin is installed on x86_64. Version-Release number of selected component (if applicable): Latest version of blender 2.45-4 on Fedora 8 and Fedora 7. How reproducible: Always Steps to Reproduce: 1. Start blender from a console window 2. Select yafray as renderer and uncheck the xml option 3. Console window displays a message saying the plugin was not found Actual results: Black render window appears. This is not a lighting issue, as it works fine when using the xml option. Expected results: Rendered image of the default scene. Additional info: The problem is that blender is looking in the wrong directories for the plugin and its associated libraries. Patch attached which fixes the problem. Could be included in spec file with something like: Patch3: blender-2.45-x86_64.patch ... %ifarch x86_64 %patch3 -p1 -b .orig %endif
Created attachment 294002 [details] Patch blender yafray plugin and library paths to lib64 versions
Just a quick note to say that this bug has now been fixed in the upstream subversion repository. Thus the next version (2.46?) should not have this bug when it gets released around April / May.
Thank your for reporting this bug and offering the patch. I have create updates for rawhide, F-8 and F-7
@Richard Which is the yafray version and release you have installed ? Is it an updated version from the (fedora) updates reposity ?
?
I confirm that the updates breaks yafray rendering on 32bit systems (preventing to use /usr/lib/libyafrayplugin.so with xml parser disabled .) The error is: Error loading yafray plugin /usr/lib/blender.bin : undefined symbol: getYafray (where the symbol exist in /usr/lib/libyafrayplugin.so). Please apply this patch conditionally using: %if %{?_lib} == "lib64" %pactchX %endif
Thx for fixing it Jochen, it should be fine now.
Apologies for the delay in replying, I have been away for a couple of weeks. Re: Comment #4 I have yafray-0.0.9-5 installed on both the F7 and F8 machines. I have just installed blender-2.45-9 from updates-testing and it appears to work correctly on F8 x86_64. Thanks for the fix.