You are not logged in.

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

s4nji
Member
Registered: 2015-07-17
Posts: 32

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.

Offline

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

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

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)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

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

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

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

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

Online

#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
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
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