OpenImageIO-2.0.9 breaks blender

the build works fine but when I try to execute it I get
$ bin/blender
bin/blender: error while loading shared libraries: libOpenImageIO.so.1.8: cannot open shared object file: No such file or directory
[vince@lap5 blender-git]$ grep openimage /var/log/rpmpkgs
[vince@lap5 blender-git]$ grep -i openimage /var/log/rpmpkgs
OpenImageIO-2.0.9-1.fc30.x86_64.rpm
OpenImageIO-devel-2.0.9-1.fc30.x86_64.rpm

I’m running 64 bit Fedora F30

The Blender build you have is linked against OpenImageIO 1.8. Doing a clean build will likely resolve that and build against the latest version you have installed.

Thankyou for your quick reply… Obviously I don’t know what I’m doing.
I did:
cd build_linux
make clean
make
make install
sadly same problem.
then got crazy and did
find . -name ‘*.c’ -exec touch {} ; # and also *.cpp and *.h
then
make clean
make
make install
sigh same problem

Sorry, I wasn’t clear. What I meant by a clean build is to remove the build_linux folder, run install_deps.sh again (assuming you used that before), and build again from scratch.

Just running make clean will not change the OpenImageIO version used.

It is also possible to edit the CMakeCache.txt to point to a different OpenImageIO version, that would be faster. But it’s not easy to do correctly and can cause other issues.

Yes! that worked. Thanks :slight_smile: