Take the 2-minute tour ×  I'm trying to set up Mongodb on my vps
but when trying to start it:  service mongod start  It returns
this error:  Starting mongod: /usr/bin/mongod: error while
loading shared libraries:   From what I read Mongodb runs on
c++, so I've installed:    gcc-c++.x86_64 0:4.4.6-4.el6
Dependency Installed:   libstdc++-devel.x86_64 0:4.4.6-4.el6
But I still get the error. Maybe it doesn't have permission.
(Running Centos 6.3 64bit)  Ps: I'm an newbie.  share|improve
this question add comment  1 Answer  up vote 0 down vote
accepted  You need to install libstdc++ to satisfy that
dependency  So yum install libstdc++ should do the trick.
share|improve this answer Failed to set locale, defaulting to C
Loaded plugins: fastestmirror Loading mirror speeds from cached
hostfile * base: mirror.team-cymru.org * epel:
mirrors.servercentral.net * extras: mirror.team-cymru.org *
rpmforge: mirror.rit.edu * updates: mirror.team-cymru.org
Setting up Instal