When starting MongoDB, the prompt is: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [root@SnsWeb ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath /usr/local/mongodb/logs/mongodb.log --fork /usr/local/mongodb/bin/mongod: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [root@SnsWeb ~]# Error reason: missing libstdc++.so.6 runtime library Solution: Install the libstdc++.so.6 runtime library 1. Execute commands yum whatprovides libstdc++.so.6 Then it will prompt which installation package has this library file, as follows: [root@SnsWeb ~]# yum whatprovides libstdc++.so.6 Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile libstdc++-4.4.7-11.el6.i686 : GNU Standard C++ Library Repo: base Matched from: Other : libstdc++.so.6 2. Then execute yum -y install libstdc++-4.4.7-11.el6.i686 It is very simple. When there are various problems with the system or software at work, don’t rush to ask Baidu. Try to read the error message and solve the related problems yourself according to the error message. If it is in English, it can also improve your English reading level. You may also be interested in:
|
<<: Detailed explanation of Angular component life cycle (I)
>>: Solution - BASH: /HOME/JAVA/JDK1.8.0_221/BIN/JAVA: Insufficient permissions
The effect shows that two browsers simulate each ...
Although the frequency of starting the shell is v...
Table of contents iview-admin2.0 built-in permiss...
Background requirements: The ERP system needs to ...
centos7 switch boot kernel Note: If necessary, it...
Preface As we all know, the browser's homolog...
Preface: The MySQL database provides a wide range...
Error: Connection to blog0@localhost failed. [080...
Table of contents 1. Scene loading 2. Find Node 1...
In order to make the table fill the screen (the re...
Table of contents 1- Error details 2-Single Solut...
Table of contents Preface Jump to APP method URL ...
Table of contents 1. Introduction 2. Detailed exp...
There are many loopholes in the simple seamless s...
I believe that many partners who have just come i...