j143/systemds

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found

Closed this issue · 1 comments

j143 commented
  1. Install the GLIBCXX_3.4.26 with instructions at to resolve this
  2. New error once the above is resolved
  3. I tried to individually update the libstdc++ like #223 (comment) got

Error message:

[ERROR]   Run 3: RowAggTmplTest.testCodegenRowAggRewrite42CP:123->AutomatedTestBase.runTest:1347->AutomatedTestBase.runTest:1472 
failed to run script: ./src/test/scripts/functions/codegen/rowAggPattern42.dml
Standard Out:
StackTrace:
LEVEL : 0
Exception : class java.lang.UnsatisfiedLinkError
Message   : /tmp/libsystemds_spoof_cuda-Linux-x86_64.so8055738542621405978: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /tmp/libsystemds_spoof_cuda-Linux-x86_64.so8055738542621405978)
0  >  java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)

more info:

ubuntu@ip-10-0-0-4:~/repo/systemds$ gcc --version
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Related:

j143 commented

so, 3.4.26 is not available.

$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25 | grep GLIB

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.14
GLIBC_2.4
GLIBC_2.18
GLIBC_2.16
GLIBC_2.3.4
GLIBC_2.17
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
ubuntu@ip-10-0-0-4:~/repo/systemds$ dpkg -L g++-7
/.
/usr
/usr/bin
/usr/bin/x86_64-linux-gnu-g++-7
/usr/lib
/usr/lib/gcc
/usr/lib/gcc/x86_64-linux-gnu
/usr/lib/gcc/x86_64-linux-gnu/7
/usr/lib/gcc/x86_64-linux-gnu/7/cc1plus
/usr/share
/usr/share/doc
/usr/share/doc/gcc-7-base
/usr/share/doc/gcc-7-base/C++
/usr/share/doc/gcc-7-base/C++/README.C++
/usr/share/doc/gcc-7-base/C++/changelog.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/g++-7
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/x86_64-linux-gnu-g++-7.1.gz
/usr/bin/g++-7
/usr/share/doc/g++-7
/usr/share/man/man1/g++-7.1.gz

reference:

  1. https://stackoverflow.com/a/63190662/7860306
  2. https://stackoverflow.com/q/45216648/7860306
  3. https://askubuntu.com/questions/466651/how-do-i-use-the-latest-gcc-on-ubuntu