You are not logged in.

#1 2016-10-02 00:30:17

s4nji
Banned
Registered: 2015-07-17
Posts: 47

Unable to launch MongoDB (error while loading shared libraries...)

Hi,

I wanted to install MongoDB for my lab project, I followed all the steps from here https://wiki.archlinux.org/index.php/MongoDB but when I try to launch it with

$ mongo

I get this output :

mongo: error while loading shared libraries: libboost_program_options.so.1.61.0: cannot open shared object file: No such file or directory

Any ideas of which caused this ?

Thank you.


vgruk pharmacy
Mod note: Redacted URL

Offline

#2 2016-10-02 02:31:36

onslow77
Member
Registered: 2014-09-21
Posts: 283

Re: Unable to launch MongoDB (error while loading shared libraries...)

Hello!

The error message and the information on the wiki is quite explicit:
- The error message is telling you that you can not start mongo because the expected "boost-libs" libraries can not be found
- The MongoDB Wiki notes: "Check that the boost-libs package is up to date. MongoDB requires a specific version, however, the package does not restrict the version of this dependency"

Regards
Martin

Last edited by onslow77 (2016-10-02 02:40:45)

Offline

#3 2016-10-02 02:57:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Unable to launch MongoDB (error while loading shared libraries...)

Partial updates are not supported. If you used pacman -Sy, this is what happens.

Offline

#4 2017-01-12 15:06:12

m0nclous
Member
Registered: 2017-01-12
Posts: 1

Re: Unable to launch MongoDB (error while loading shared libraries...)

Offline

#5 2017-01-12 15:36:51

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Unable to launch MongoDB (error while loading shared libraries...)

m0nclous, boost-libs is already a dependency of mongodb. The problem is (was) likely partial updates, as Scimmia suggested.

Since this topic was never marked as solved, and OP later revealed that they weren't even running Arch, I think we can close this topic now.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB