When installing blender via sudo make install, some libraries are not found #106215
Operating system: Linux-5.19.0-38-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: AMD Radeon RX 5700 XT (navi10, LLVM 15.0.3, DRM 3.49, 5.19.0-38-generic) AMD 4.6 (Core Profile) Mesa 22.3.0-devel
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-28 09:51, hash:
Short description of error
When building from source and installing to system via make install, some shared libraries cannot be found and thus refuse to run.
This is the output of
ldd /usr/bin/blender | grep "not found"
libtbb.so => not found libosdGPU.so.3.5.0 => not found libosdCPU.so.3.5.0 => not found libOpenColorIO.so.2.2 => not found libOpenImageIO.so.2.4 => not found libOpenImageIO_Util.so.2.4 => not found libboost_python310.so.1.80.0 => not found libusd_ms.so => not found libopenvdb.so.10.0 => not found libIex.so.30 => not found libOpenEXR.so.30 => not found libImath.so.29 => not found libboost_thread.so.1.80.0 => not found libboost_locale.so.1.80.0 => not found
Exact steps for others to reproduce the error
After the initial make, in blender-git/build_linux, edit the following lines:
Run sudo make install
Run /usr/bin/blender and it will complain of missing libraries.
During my research I came across this: Library changes for Blender 3.5 #99618
and a line that says
Switch from static to shared for various libraries (OpenVDB, USD, TBB, Boost, OIIO, OCIO, OpenEXR, Imath) which are the exact libraries that blender cannot see.
Thank you for taking the time to bring this issue to our attention. However, build problems are off-topic on the bug tracker as explained by the submission form.
Please ask about this on blender.chat or DevTalk.
What not to report here
For feature requests, feedback, questions or issues building Blender, see communication channels.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?