You are not logged in.
Hello everyone,
I'm having some trouble after the latest update,
bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/libgallium-24.2.1-arch1.1.so)
bin/glnxa64/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /usr/lib/libLLVM.so.18.1)
which is here
whereis libstdc++.so.6
libstdc++.so.6: /usr/lib/libstdc++.so.6 /usr/lib32/libstdc++.so.6
and if I preload it, it one seems to work, however other parts of the app are not working any more, I guess for some similar reason. I really do not wish to preload all libraries one by one. What would be
the best course of action to do in this case?
Thank you.
Last edited by LyCC (2024-09-04 16:39:42)
Offline
"bin/glnxa64/libstdc++.so.6" ?
Matlab?
ldd /usr/lib/libgallium-24.2.1-arch1.1.so
printenv | grep LD
grep -r . /etc/ld.so.conf*
Offline
Yes, matlab. Created a new user and tried to reinstall it, but the installer throws the same exact issues.
ldd /usr/lib/libgallium-24.2.1-arch1.1.so
linux-vdso.so.1 (0x00007b8084f39000)
libglapi.so.0 => /usr/lib/libglapi.so.0 (0x00007b8084ec7000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007b8084eb0000)
libLLVM.so.18.1 => /usr/lib/libLLVM.so.18.1 (0x00007b807a600000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007b80827d7000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007b80827be000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007b80826df000)
libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0x00007b8084ea7000)
libsensors.so.5 => /usr/lib/libsensors.so.5 (0x00007b80826d0000)
libdrm_radeon.so.1 => /usr/lib/libdrm_radeon.so.1 (0x00007b8084e99000)
libelf.so.1 => /usr/lib/libelf.so.1 (0x00007b807a5e4000)
libdrm_amdgpu.so.1 => /usr/lib/libdrm_amdgpu.so.1 (0x00007b80826c4000)
libdrm_intel.so.1 => /usr/lib/libdrm_intel.so.1 (0x00007b807a5c0000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007b807a200000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007b807a4d1000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007b807a4a3000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007b807a00f000)
libffi.so.8 => /usr/lib/libffi.so.8 (0x00007b80826b7000)
libedit.so.0 => /usr/lib/libedit.so.0 (0x00007b8079fd6000)
libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007b8079f67000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007b8079e1b000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007b8084f3b000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007b8079df0000)
libpciaccess.so.0 => /usr/lib/libpciaccess.so.0 (0x00007b807a496000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007b8079dbd000)
libicuuc.so.75 => /usr/lib/libicuuc.so.75 (0x00007b8079bc3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007b807a48f000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007b807a487000)
libicudata.so.75 => /usr/lib/libicudata.so.75 (0x00007b8077e00000)
printenv | grep LD
OLDPWD=/home/user
grep -r . /etc/ld.so.conf*
/etc/ld.so.conf:# Dynamic linker/loader configuration.
/etc/ld.so.conf:# See ld.so(8) and ldconfig(8) for details.
/etc/ld.so.conf:include /etc/ld.so.conf.d/*.conf
/etc/ld.so.conf:include /usr/lib/ld.so.conf.d/*.conf
/etc/ld.so.conf.d/lib32-glibc.conf:/usr/lib32
/etc/ld.so.conf.d/cuda.conf:/opt/cuda/lib64
/etc/ld.so.conf.d/cuda.conf:/opt/cuda/nvvm/lib64
/etc/ld.so.conf.d/cuda.conf:/opt/cuda/extras/CUPTI/lib64
edit:
did a
find matlab/ -name "*.so*" -exec ldd {} \; 2>/dev/null | grep 'not found' | sort -u | sed -r 's/^\s+(\S+.so).*$/\1/'
and get huge number of not founds
/opt/matlab/R2024a/bin/glnxa64/systemcomposer_resolvers/systemcomposer/resolvers_slModel/mwsystemcomposer_resolvers_slModel.so: /opt/matlab/R2024a/bin/glnxa64/systemcomposer_resolvers/systemcomposer/resolvers_slModel/../../../../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libgallium-24.2.1-arch1.1.so)
...
/opt/matlab/R2024a/bin/glnxa64/zc_registry_services/systemcomposer/registry_impl/mwregistry_impl.so: /opt/matlab/R2024a/bin/glnxa64/zc_registry_services/systemcomposer/registry_impl/../../../../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /usr/lib/libLLVM.so.18.1)
Last edited by LyCC (2024-09-02 08:42:29)
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
So this is matlab specific (there's nothing in the ldd or environment to suggest a general prolem) and the immediate issue is that matlab pre-loads or prefers its bundled libstdc++ which is incompatible w/ the system libraries that also get linked in.
Have you tried to rebuild the matlab package?
What happens if you just move the bundled libstdc++.so.6 away?
Offline
So this is matlab specific (there's nothing in the ldd or environment to suggest a general prolem) and the immediate issue is that matlab pre-loads or prefers its bundled libstdc++ which is incompatible w/ the system libraries that also get linked in.
Have you tried to rebuild the matlab package?
I didn't use the AUR package, downloaded matlab from their website directly.
What happens if you just move the bundled libstdc++.so.6 away?
Then it works just fine, why didn't I thought of that?
Thank you very much, really appreciate it.
Last edited by LyCC (2024-09-04 16:40:33)
Offline
I didn't use the AUR package, downloaded matlab from their website directly.
You might want to reconsider that, https://aur.archlinux.org/cgit/aur.git/ … atlab#n130
Offline
I didn't use the AUR package, downloaded matlab from their website directly.
You might want to reconsider that, https://aur.archlinux.org/cgit/aur.git/ … atlab#n130
Yes, I see now, the problematic libs are removed. Thank you again.
Offline