C++ 11 driver
- install C driver before your install C++ driver
- download from here and extract it to your directory
- compile
$ cd mongo-cxx-driver-r3.1.2/build
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
- fail for need higher version cmake and gcc, gcc in my env is 4.8, this version is same with the gcc version in here . but my cmake version is 2.8
- if you want to move on, please update your gcc and cmake to higher version
PS:
I got below error when you install some package, it means, you gcc version is
low
# rpm -ivh cmake-3.9.0-2.fc27.x86_64.rpm
error: Failed dependencies:
cmake-data = 3.9.0-2.fc27 is needed by cmake-3.9.0-2.fc27.x86_64
cmake-filesystem = 3.9.0-2.fc27 is needed by cmake-3.9.0-2.fc27.x86_64
libform.so.6()(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libjsoncpp.so.11()(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libncurses.so.6()(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
librhash.so.0()(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libstdc++.so.6(CXXABI_1.3.8)(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libstdc++.so.6(CXXABI_1.3.9)(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libtinfo.so.6()(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
libuv.so.1()(64bit) is needed by cmake-3.9.0-2.fc27.x86_64
My question is that: does there have any page can explain which gcc version
map to CXXABI version