/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found
Hello.
I'm trying to build and and install plv8 extension for Postgres 13 RHEL-7, but getting below error:
cat /etc/system-release Red Hat Enterprise Linux Server release 7.9 (Maipo)
postgres> CREATE EXTENSION plv8; ERROR: could not load library "/opt/rh/rh-postgresql13/root/usr/lib64/pgsql/plv8-3.0.0.so": /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/rh/rh-postgresql13/root/usr/lib64/pgsql/plv8-3.0.0.so)
The out from
strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX_ 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_DEBUG_MESSAGE_LENGTH
I've below packages installed:
yum list installed | grep libstdc++ devtoolset-9-libstdc++-devel.x86_64 libstdc++.x86_64 4.8.5-44.el7 @rhui-rhel-7-server-rhui-rpms
Any help here would be highly appreciated.
Thanks.
Responses