| buildscripts/scons.py mongod |
#./mongod
./mongod: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./mongod)
./mongod: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./mongod)
./mongod: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./mongod)
I've below version installed.
[root@installer-a mongo]# gcc --version
gcc (GCC) 5.5.0
Copyright (C) 2015 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.
[root@installer-a mongo]# g++ --version
g++ (GCC) 5.5.0
Copyright (C) 2015 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.
# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
[root@installer-a mongo]# rpm -qa | grep glibc
glibc-devel-2.17-260.el7_6.3.x86_64
glibc-common-2.17-260.el7_6.3.x86_64
glibc-headers-2.17-260.el7_6.3.x86_64
glibc-2.17-260.el7_6.3.x86_64
[root@installer-a mongo]#
# strings /usr/lib64/libstdc++.so.6 | grep GLIBC
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
GLIBC_2.3
GLIBC_2.2.5
GLIBC_2.14
GLIBC_2.4
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
# strings /usr/lib64/libstdc++.so.6 | grep CXX | grep -v GLIB
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_TM_1
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/af2317e5-3d57-4ad9-9219-24c8c6bac56c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# ldd ./mongod
./mongod: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./mongod)
./mongod: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./mongod)
./mongod: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./mongod)
linux-vdso.so.1 => (0x00007fff39fe1000)
librt.so.1 => /lib64/librt.so.1 (0x00007f1aa4df2000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f1aa4bee000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f1aa48e7000)
libm.so.6 => /lib64/libm.so.6 (0x00007f1aa45e5000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f1aa43cf000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1aa41b3000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1aa3de6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1aa7bda000)
[root@installer-a mongo]#
# LD_LIBRARY_PATH=$(dirname $(/usr/bin/gcc -print-file-name=libstdc++.so)) ./mongod
./mongod: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./mongod)
./mongod: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./mongod)
./mongod: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./mongod)
[root@installer-a mongo]#
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAHX05qH7%3Dr4FOQhJngHnh1yrJBsvyFEG4utdgECrmrb5%2Bx-R9g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CALm-KxoFfjKDve0TfMN2tUitzHcRby6GDBC5V21kp17_XYQ--w%40mail.gmail.com.
#/usr/bin/gcc -print-file-name=libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/libstdc++.so
Can you please provide pointers on gcc comptability for mongo 3.4 version
Regards,
Amit
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAHX05qHh6pV3m6P8A8KDdzXNVQkHSuMc%2BGW33dD4fU4-_Gb6UA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CALm-Kxq2iu_kp97k2VA9mKOZqebn5xWVjTxx0eaa%2B-_1826_bQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/e7102f1a-71e8-41d3-9eea-54e75ea68655%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/d9a74f06-62be-46a8-b18d-916360cb3c0c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mongod...@googlegroups.com.