In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
According to the official website (https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver))), C++ driver uses libbson and MongoDB C driver internally. So to install C++ driver, you need to install C driver first. My system gcc version 4.8.5 cmake version 3.5.2, which meets the installation version required by the official website.
1. Install automake and autoconf and libtool, and install all yum here
Yum-y install automake autoconf libtool
two。 Install C driver and follow the installation method given on the official website (https://github.com/mongodb/mongo-c-driver)). I installed version 1.3.5 here.
Wget https://github.com/mongodb/mongo-c-driver/releases/download/1.3.5/mongo-c-driver-1.3.5.tar.gztar xzf mongo-c-driver-1.3.5.tar.gzcd mongo-c-driver-1.3.5./configuremakemake install
3. Install C++ driver and follow the installation method given on the official website (https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver))). I installed version 3.0.1 here.
Wget https://github.com/mongodb/mongo-cxx-driver/archive/r3.0.1.tar.gztar xzf r3.0.1.tar.gzcd mongo-cxx-driver-r3.0.1/build# needs to install git,yum-y install git first, otherwise the error PKG_CONFIG_PATH=/usr/local/lib/pkgconfig cmake-DCMAKE_BUILD_TYPE=Release-DCMAKE_INSTALL_PREFIX=/usr/local/.. makemake install will be reported.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.