When installing blender via sudo make install, some libraries are not found #106215

Closed
opened 2023-03-28 12:55:18 +02:00 by Rey Leonard M. Amorato · 1 comment

System Information
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

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-28 09:51, hash: aa69ec7f80fb
Worked: 3.4

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

  1. After the initial make, in blender-git/build_linux, edit the following lines:
    WITH_INSTALL_PORTABLE:BOOL=ON to WITH_INSTALL_PORTABLE:BOOL=OFF
    CMAKE_INSTALL_PREFIX:PATH=<whatever path> to CMAKE_INSTALL_PREFIX:PATH=/usr

  2. Run sudo make install

  3. 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.

**System Information** 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 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-28 09:51, hash: `aa69ec7f80fb` Worked: 3.4 **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** 1. After the initial make, in blender-git/build_linux, edit the following lines: `WITH_INSTALL_PORTABLE:BOOL=ON` to `WITH_INSTALL_PORTABLE:BOOL=OFF` `CMAKE_INSTALL_PREFIX:PATH=<whatever path>` to `CMAKE_INSTALL_PREFIX:PATH=/usr` 2. Run sudo make install 3. 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](https://projects.blender.org/blender/blender/issues/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.
Rey Leonard M. Amorato added the
Severity
Normal
Type
Report
Status
Needs Triage
labels 2023-03-28 12:55:18 +02:00
Germano Cavalcante added the
Module
Platforms, Builds & Tests
Platform
Linux
labels 2023-03-28 17:15:05 +02:00

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.

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](https://projects.blender.org/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml). Please ask about this on [blender.chat](https://blender.chat/channel/blender-coders) or [DevTalk](https://devtalk.blender.org/c/blender). > **What not to report here** > For feature requests, feedback, questions or issues building Blender, see [communication channels](https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests).
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-03-28 17:25:06 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#106215
No description provided.