2.8 fails on Centos 7.5 #56837
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
11 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#56837
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
System Information
Operating system and graphics card
CentOS Linux release 7.5.1804
Blender Version
Broken: (2.80-41c039d6e90-linux-glibc224-x86_64)
Worked: (2.79b)
Short description of error
Every time I start the new version I get following error:
error while loading shared libraries: libmvec.so.1: cannot open shared object file: No such file or directory
Exact steps for others to reproduce the error
Just try to start it up.
./blender
#58158 was marked as duplicate of this issue
#59489 was marked as duplicate of this issue
Added subscriber: @vince_549
NVIDIA dlloader X Driver 390.67
NVIDIA GPU GeForce GTX 1050 Ti (GP107-A)
Added subscriber: @LazyDodo
your glibc is too old, buildbot recently moved to glibc224 while centos is still on 2.17
Changed status from 'Open' to: 'Archived'
Updating Centos beyond 2.17 is very difficult if not impossible.
2.17 is the most current version available for Centos.
I thought blender was supposed to include the glibc.
EG the file name for 2.79 says blender-2.79b-linux-glibc219-x86_64/
and for 2.8
blender-2.80-41c039d6e90-linux-glibc224-x86_64.tar.bz2
the glib version in the filename means, build upon, (ie requires atleast) announcement email about this here
eeps. I have multiple Centos systems. This seems to mean I'm doomed to running 2.7x
Replacing Centos with say Fedora is a major effort. I used to run Fedora but it was so unstable I gave up.
if you build from code centos can still work though, i fixed the last few bugs with that yesterday, instructions here
Added subscriber: @JeffreyKlug
Many VFX and Animation studios might be stuck on RHEL or Centos 7.x due to requirements of certain commercial (closed source) applications in the pipeline. A glibc 2.17 compatible build would make Blender adoption much easier.
Added subscriber: @AhmedBarakat
I am stuck to Centos cause I use Substance Designer and Painter along with 3d Coat and all of these are only supported on Centos. for substance stuff on ubuntu, you can run only the steam version.
there must be a solution.
blender is currently building on centos, while there are no binaries available , two users have made available a docker for building blender, available in this thread
@LazyDodo Thanks for pointing this. I have no experience with docker but will figure this out, is this any downside to this approach of building blender?
Added subscribers: @wahn, @lichtwerk
Warning: Don't do this if you don't know what you are doing !!!
FYI, if you know what you are doing and have a little hacker mindset (like me) the current Blender 2.80 can be patched to work on CentOS 7.5:
You have to be root and compile patchelf yourself ...
As a user:
Added subscribers: @tonemgub, @StephenSwaney, @daveb68
Added subscriber: @lirt
I have same issue. Can anyone help on this? Can we know when this bug will be fixed?
System Information
Operating system and graphics card
CentOS Linux release 7.2 3.10.0-327.10.1.el7.centos.plus.x86_64
graphics card: gtx 970 390.67
Blender Version
blender-2.80-690478027bd7-linux-glibc224-x86_64
Worked: (2.79b)
Short description of error
Every time I start the new version I get following error:
error while loading shared libraries: libmvec.so.1: cannot open shared object file: No such file or directory
so,I see The latest version is still not available. Please help,thanks a lot.
Added subscriber: @alekseyt
So, i'm not really on CentOS, but maybe someone will be looking for solution...
Everything i had to do to fix this is to download glibc 2.24 source code and do
./configure && make
. Build producedmathvec/libmvec.so
andmath/libm.so
along other binaries, i copied those two with their symlinks to directoryblender/glibc/
and then didLD_LIBRARY_PATH=glibc ./blender
and it just worked. I didn't use docker or whatever, also took like 5 minutes to build glibc 2.24. Maybe a more detailed description is here: https://blender.stackexchange.com/questions/120890/blender-2-8-cannot-find-libmvec-so-1I'm on glibc 2.19 and LFS i guess, since i'm compiling glibc from sources, but Blender 2.8 from blender.org undoubtedly can work on older versions of glibc without recompilation.
Please consider linking libm and libmvec statically or providing prebuilt binaries for Linux if Blender depends on them.
It's really weird that Windows users who don't have glibc installed don't have to change OS to run Blender, but for Linux users it is recommended to change distro. But the weirdest part of all that is, of course, compiling glibc from sources to be able to start Blender 2.8.
Added subscriber: @nunopereira
Guys just adding to this, this situation is border-line ridiculous. CENTOS7 is the industry standard and the base support for all other VFX applications.
At UNIT we are really keen to pushing blender further into our pipeline. We work on multi-million dollar shows from feature film to commercials and TV.
You cannot go astray down a path where you leave us with no option other than ignoring blender again. Our tech teams have been at this trying to fix it, compiling and re-compiling changing our very systems and we cannot make blender work on CENTOS7. You can't expect companies to change their entire OS because you decide to compile against non standard library. I don't think you truly understand the impact of decisions like this. You are alienating the very industry that is now more keen than ever of embracing and pushing Blender further.
Aleksey is spot on on his remarks. [...]"It's really weird that Windows users who don't have glibc installed don't have to change OS to run Blender, but for Linux users it is recommended to change distro. But the weirdest part of all that is, of course, compiling glibc from sources to be able to start Blender 2.8."[...]
You need produce industry compatible builds so we can use test it, feedback uppon and have our own tech teams contributing and helping with the code base.
Thanks,
Nuno
It's also worth noting (mentioned elsewhere too, I think) that the VFX Reference platform still specifies glibc 2.17 even in the current draft of CY2020. Looks like any distro that wants to remain compatible with the reference platform will be stuck with 2.17. I wish it weren't so.
Here's what I've been doing to get builds working on our CentOS 7 systems. (Can't take credit for this solution, I saw it in these forums somewhere.)
I grabbed newer libs from Fedora and copied them into /sw/lin/opt/blender/lib64
I install blender into the network path:
Then use patchelf to modify the binary find so that it finds the newer libs.
This is not ideal, and I'm guessing not without problems. I wouldn't feel comfortable using it in production this way, but it has been useful to get it running well enough for evaluation and testing purposes.
It's really not, it's true on windows there is no glibc, but there is the ms c runtime (which serves the same purpose as glibc), unlike glibc the mscrt allows several versions to be installed side by side which makes shipping a newer version than what the OS shipped with possible.
**@Jeffrey Klug (jbklug) This is great help. I'll share this with the tech team and post the results. Though my gut feeling tells me because of reliability of dozens of workstations and render farm nodes this won't fly as it implies changing quite a lot of libraries. Either way thanks a million for the help and I'll share the outcome.@LazyDodo (LazyDodo) **
That's really good info. Which makes me wonder if Blender really insists going down this path why not ship with all non-standard dependencies. Like Nuke, Maya and Houdini do with Qt for example?
Best,
Nuno
It does we ship 30+ dependencies, the thing is for technical reasons you can't ship glibc.
Can you elaborate?
Thanks
You can't statically link glibc like the other deps, because some services on linux like nss require dynamic linking to operate properly.