You are not logged in.

#1 2019-11-01 02:03:47

reedlaw
Member
Registered: 2013-05-29
Posts: 14

[Solved] Blender 2.80 error while loading shared libraries

It seems ilmbase which contained libImath-2_3.so.24 was replaced with openexr 2.4.0-4 which provides libImath-2_4.so.24. Downgrading openexr and ilmbase doesn't solve the problem because Blender complains about missing libHalf-2_4.so.24. I was not able to get the blender-git package to compile either. Is anyone else having problems installing Blender?

Last edited by reedlaw (2019-11-04 18:37:14)

Offline

#2 2019-11-01 03:02:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 22,271
Website

Re: [Solved] Blender 2.80 error while loading shared libraries

Blender has been rebuilt since the openexr update.  What version do you currently have?  The one currently in the repos links to libImath-2_4.so.2, not 2_3.

Last edited by Trilby (2019-11-01 03:04:58)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-11-01 14:57:26

reedlaw
Member
Registered: 2013-05-29
Posts: 14

Re: [Solved] Blender 2.80 error while loading shared libraries

Somehow my blender seems to be linked to 2_3:

reed@miner ~ % pacman -Q blender 
blender 17:2.80-7
reed@miner ~ % pacman -Q openexr 
openexr 2.4.0-4
reed@miner ~ % which blender                                                                                                                                                                                            :(
/usr/bin/blender
reed@miner ~ % blender
blender: error while loading shared libraries: libImath-2_3.so.24: cannot open shared object file: No such file or directory

Offline

#4 2019-11-01 15:11:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,771

Re: [Solved] Blender 2.80 error while loading shared libraries

Install pax-utils run and post

lddtree $(which blender)
#And potentially
printenv

You either have something overriding in /usr/local/ or your LIBRARY_PATH are setup incorrectly.

Offline

#5 2019-11-03 01:47:10

reedlaw
Member
Registered: 2013-05-29
Posts: 14

Re: [Solved] Blender 2.80 error while loading shared libraries

reed@miner ~ % lddtree $(which blender)
/usr/bin/blender (interpreter => /lib64/ld-linux-x86-64.so.2)
    libjemalloc.so.2 => /usr/lib/libjemalloc.so.2
    libpng16.so.16 => /usr/lib/libpng16.so.16
    libz.so.1 => /usr/lib/libz.so.1
    libfreetype.so.6 => /usr/lib/libfreetype.so.6
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0
        libfreetype.so.6 => !!! circular loop !!!
            libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
                libpcre.so.1 => /usr/lib/libpcre.so.1
            libgraphite2.so.3 => /usr/lib/libgraphite2.so.3
    libpython3.7m.so.1.0 => /usr/lib/libpython3.7m.so.1.0
        libutil.so.1 => /usr/lib/libutil.so.1
    libopenal.so.1 => /usr/lib/libopenal.so.1
        librt.so.1 => /usr/lib/librt.so.1
    libfftw3.so.3 => /usr/lib/libfftw3.so.3
    libjack.so.0 => /usr/lib/libjack.so.0
        libdb-5.3.so => /usr/lib/libdb-5.3.so
    libsndfile.so.1 => /usr/lib/libsndfile.so.1
        libFLAC.so.8 => /usr/lib/libFLAC.so.8
        libogg.so.0 => /usr/lib/libogg.so.0
        libvorbis.so.0 => /usr/lib/libvorbis.so.0
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2
    libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0
    liboslcomp.so.1.10 => /usr/lib/liboslcomp.so.1.10
        libboost_thread.so.1.71.0 => /usr/lib/libboost_thread.so.1.71.0
        libboost_filesystem.so.1.71.0 => /usr/lib/libboost_filesystem.so.1.71.0
        libboost_wave.so.1.71.0 => /usr/lib/libboost_wave.so.1.71.0
            libboost_date_time.so.1.71.0 => /usr/lib/libboost_date_time.so.1.71.0
            libboost_chrono.so.1.71.0 => /usr/lib/libboost_chrono.so.1.71.0
    liboslexec.so.1.10 => /usr/lib/liboslexec.so.1.10
        libImath-2_4.so.24 => /usr/lib/libImath-2_4.so.24
        libLLVM-9.so => /usr/lib/libLLVM-9.so
            libffi.so.6 => /usr/lib/libffi.so.6
            libedit.so.0 => /usr/lib/libedit.so.0
            libncursesw.so.6 => /usr/lib/libncursesw.so.6
            libxml2.so.2 => /usr/lib/libxml2.so.2
                libicuuc.so.64 => /usr/lib/libicuuc.so.64
                    libicudata.so.64 => /usr/lib/libicudata.so.64
                liblzma.so.5 => /usr/lib/liblzma.so.5
    libopenvdb.so.6.2 => /usr/lib/libopenvdb.so.6.2
        libboost_iostreams.so.1.71.0 => /usr/lib64/libboost_iostreams.so.1.71.0
            libzstd.so.1 => /usr/lib/libzstd.so.1
        liblog4cplus-2.0.so.3 => /usr/lib64/liblog4cplus-2.0.so.3
        libblosc.so.1 => /usr/lib64/libblosc.so.1
            liblz4.so.1 => /usr/lib/liblz4.so.1
            libsnappy.so.1 => /usr/lib/libsnappy.so.1
    libtbb.so.2 => /usr/lib64/libtbb.so.2
    libOpenImageIO.so.2.0 => /usr/lib/libOpenImageIO.so.2.0
        libgif.so.7 => /usr/lib/libgif.so.7
        libraw_r.so.19 => /usr/lib/libraw_r.so.19
            libjasper.so.4 => /usr/lib/libjasper.so.4
            liblcms2.so.2 => /usr/lib/liblcms2.so.2
        libwebp.so.7 => /usr/lib/libwebp.so.7
    libjpeg.so.8 => /usr/lib/libjpeg.so.8
    libboost_locale.so.1.71.0 => /usr/lib/libboost_locale.so.1.71.0
        libboost_system.so.1.71.0 => /usr/lib/libboost_system.so.1.71.0
        libicui18n.so.64 => /usr/lib/libicui18n.so.64
    libtiff.so.5 => /usr/lib/libtiff.so.5
    libHalf-2_4.so.24 => /usr/lib/libHalf-2_4.so.24
    libIex-2_4.so.24 => /usr/lib/libIex-2_4.so.24
    libIlmImf-2_4.so.24 => /usr/lib/libIlmImf-2_4.so.24
        libIlmThread-2_4.so.24 => /usr/lib/libIlmThread-2_4.so.24
    libOpenColorIO.so.1 => /usr/lib/libOpenColorIO.so.1
        libtinyxml.so.0 => /usr/lib/libtinyxml.so.0
        libyaml-cpp.so.0.6 => /usr/lib/libyaml-cpp.so.0.6
    libosdGPU.so.3.4.0 => /usr/lib/libosdGPU.so.3.4.0
        libtbbmalloc_proxy.so.2 => /usr/lib/libtbbmalloc_proxy.so.2
            libtbbmalloc.so.2 => /usr/lib/libtbbmalloc.so.2
        libGLEW.so.2.1 => /usr/lib/libGLEW.so.2.1
    libosdCPU.so.3.4.0 => /usr/lib/libosdCPU.so.3.4.0
    libAlembic.so.1.7 => /usr/lib/libAlembic.so.1.7
        libhdf5.so.103 => /usr/lib/libhdf5.so.103
            libsz.so.2 => /usr/lib/libsz.so.2
                libaec.so.0 => /usr/lib/libaec.so.0
    libopenjp2.so.7 => /usr/lib/libopenjp2.so.7
    libavformat.so.58 => /usr/lib/libavformat.so.58
        libmodplug.so.1 => /usr/lib/libmodplug.so.1
        libbluray.so.2 => /usr/lib/libbluray.so.2
            libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
                libexpat.so.1 => /usr/lib/libexpat.so.1
        libgmp.so.10 => /usr/lib/libgmp.so.10
        libgnutls.so.30 => /usr/lib/libgnutls.so.30
            libp11-kit.so.0 => /usr/lib/libp11-kit.so.0
            libidn2.so.0 => /usr/lib/libidn2.so.0
            libunistring.so.2 => /usr/lib/libunistring.so.2
            libtasn1.so.6 => /usr/lib/libtasn1.so.6
            libnettle.so.7 => /usr/lib/libnettle.so.7
            libhogweed.so.5 => /usr/lib/libhogweed.so.5
        libssh.so.4 => /usr/lib/libssh.so.4
            libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1
    libavcodec.so.58 => /usr/lib/libavcodec.so.58
        libswresample.so.3 => /usr/lib/libswresample.so.3
            libsoxr.so.0 => /usr/lib/libsoxr.so.0
        libvpx.so.6 => /usr/lib/libvpx.so.6
        libwebpmux.so.3 => /usr/lib/libwebpmux.so.3
        libdav1d.so.2 => /usr/lib/libdav1d.so.2
        libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0
        libaom.so.0 => /usr/lib/libaom.so.0
        libgsm.so.1 => /usr/lib/libgsm.so.1
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0
        libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0
        libopus.so.0 => /usr/lib/libopus.so.0
        libspeex.so.1 => /usr/lib/libspeex.so.1
        libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1
        libtheoradec.so.1 => /usr/lib/libtheoradec.so.1
        libx264.so.157 => /usr/lib/libx264.so.157
        libx265.so.179 => /usr/lib/libx265.so.179
            libmvec.so.1 => /usr/lib/libmvec.so.1
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4
        libva.so.2 => /usr/lib/libva.so.2
    libavutil.so.56 => /usr/lib/libavutil.so.56
        libva-drm.so.2 => /usr/lib/libva-drm.so.2
        libva-x11.so.2 => /usr/lib/libva-x11.so.2
            libXext.so.6 => /usr/lib/libXext.so.6
        libvdpau.so.1 => /usr/lib/libvdpau.so.1
        libdrm.so.2 => /usr/lib/libdrm.so.2
    libavdevice.so.58 => /usr/lib/libavdevice.so.58
        libavfilter.so.7 => /usr/lib/libavfilter.so.7
            libpostproc.so.55 => /usr/lib/libpostproc.so.55
            libfribidi.so.0 => /usr/lib/libfribidi.so.0
            libass.so.9 => /usr/lib/libass.so.9
            libvidstab.so.1.1 => /usr/lib/libvidstab.so.1.1
        libraw1394.so.11 => /usr/lib/libraw1394.so.11
        libavc1394.so.0 => /usr/lib/libavc1394.so.0
        librom1394.so.0 => /usr/lib/librom1394.so.0
        libiec61883.so.0 => /usr/lib/libiec61883.so.0
        libxcb.so.1 => /usr/lib/libxcb.so.1
            libXau.so.6 => /usr/lib/libXau.so.6
            libXdmcp.so.6 => /usr/lib/libXdmcp.so.6
        libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0
        libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0
        libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0
        libasound.so.2 => /usr/lib/libasound.so.2
        libpulse.so.0 => /usr/lib/libpulse.so.0
            libpulsecommon-13.0.so => /usr/lib/pulseaudio/libpulsecommon-13.0.so
                libsystemd.so.0 => /usr/lib/libsystemd.so.0
                    libgcrypt.so.20 => /usr/lib/libgcrypt.so.20
                        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
                libasyncns.so.0 => /usr/lib/libasyncns.so.0
                    libresolv.so.2 => /usr/lib/libresolv.so.2
            libdbus-1.so.3 => /usr/lib/libdbus-1.so.3
        libv4l2.so.0 => /usr/lib/libv4l2.so.0
            libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0
        libXv.so.1 => /usr/lib/libXv.so.1
    libswscale.so.5 => /usr/lib/libswscale.so.5
    libOpenCOLLADAStreamWriter.so => /usr/lib/opencollada/libOpenCOLLADAStreamWriter.so
        libbuffer.so => /usr/lib/opencollada/libbuffer.so
            libftoa.so => /usr/lib/opencollada/libftoa.so
            libUTF.so => /usr/lib/opencollada/libUTF.so
    libOpenCOLLADASaxFrameworkLoader.so => /usr/lib/opencollada/libOpenCOLLADASaxFrameworkLoader.so
        libMathMLSolver.so => /usr/lib/opencollada/libMathMLSolver.so
    libOpenCOLLADAFramework.so => /usr/lib/opencollada/libOpenCOLLADAFramework.so
    libOpenCOLLADABaseUtils.so => /usr/lib/opencollada/libOpenCOLLADABaseUtils.so
    libGeneratedSaxParser.so => /usr/lib/opencollada/libGeneratedSaxParser.so
    libspnav.so.0 => /usr/lib/libspnav.so.0
    libGL.so.1 => /usr/lib/libGL.so.1
        libGLX.so.0 => /usr/lib/libGLX.so.0
        libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0
    libX11.so.6 => /usr/lib/libX11.so.6
    libXi.so.6 => /usr/lib/libXi.so.6
    libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1
    libXfixes.so.3 => /usr/lib/libXfixes.so.3
    libXrender.so.1 => /usr/lib/libXrender.so.1
    libpthread.so.0 => /usr/lib/libpthread.so.0
    libdl.so.2 => /usr/lib/libdl.so.2
    libc.so.6 => /usr/lib/libc.so.6
    ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
    libm.so.6 => /usr/lib/libm.so.6
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libgomp.so.1 => /usr/lib/libgomp.so.1
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1

Offline

#6 2019-11-03 02:26:57

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,313

Re: [Solved] Blender 2.80 error while loading shared libraries

How about `type -a blender`?

Offline

#7 2019-11-03 13:28:33

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,642

Re: [Solved] Blender 2.80 error while loading shared libraries

Your openshadinglanguage package is out of date

Nevermind, that isn't it

Last edited by arojas (2019-11-03 14:53:17)

Online

#8 2019-11-03 16:32:54

reedlaw
Member
Registered: 2013-05-29
Posts: 14

Re: [Solved] Blender 2.80 error while loading shared libraries

reed@miner ~ % type -a blender
blender is /usr/bin/blender

Offline

#9 2019-11-03 16:42:58

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,313

Re: [Solved] Blender 2.80 error while loading shared libraries

Alright, I think we'll have to do this the hard way. `LD_DEBUG=files blender`

Offline

#10 2019-11-03 16:54:00

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 3,441

Re: [Solved] Blender 2.80 error while loading shared libraries

And a full pacman log would be useful too.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#11 2019-11-04 00:56:42

reedlaw
Member
Registered: 2013-05-29
Posts: 14

Re: [Solved] Blender 2.80 error while loading shared libraries

I did a full system update yesterday which included this upgrade:

[2019-11-02T14:57:53-0700] [ALPM] upgraded linux (5.3.7.arch1-2 -> 5.3.8.1-1)

I had previously reinstalled blender. Today I tried `LD_DEBUG=files blender` and to my suprise, blender opened up. So it's fixed now, but I'm not sure how.

Offline

Board footer

Powered by FluxBB