Bitcoin Forum
April 18, 2024, 05:20:56 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: libboost_program_options.so.1.54.0: cannot open shared object file  (Read 5861 times)
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 22, 2016, 04:15:05 AM
 #1

I recently upgraded my Ubnutu 14 desktop to 16.04 LTS.

When I attempt to start bitcoind from terminal, I get this error

xx@xx:~$ bitcoind
bitcoind: error while loading shared libraries: libboost_program_options.so.1.54.0: cannot open shared object file: No such file or directory

Thinks I've tried:
Removing the bitcoind package and the lib boost package
Adding them back
apt-get updates

Some are saying on other forums its a symbolic link problem, but haven't been abled to solve it.  We are down one node because of this error Sad
1713460856
Hero Member
*
Offline Offline

Posts: 1713460856

View Profile Personal Message (Offline)

Ignore
1713460856
Reply with quote  #2

1713460856
Report to moderator
1713460856
Hero Member
*
Offline Offline

Posts: 1713460856

View Profile Personal Message (Offline)

Ignore
1713460856
Reply with quote  #2

1713460856
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713460856
Hero Member
*
Offline Offline

Posts: 1713460856

View Profile Personal Message (Offline)

Ignore
1713460856
Reply with quote  #2

1713460856
Report to moderator
BigBoom3599
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
December 22, 2016, 10:48:09 AM
 #2

Looks like you're missing the boost library you need to run bitcoind, try this:
Code:
sudo apt-get install libboost-all-dev
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 22, 2016, 09:11:25 PM
 #3

Thanks for the suggestion, tried that one already

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-all-dev is already the newest version (1.58.0.1ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
doof@SubZero:~$

Also tried
Code:
sudo apt-get install libboost-program-options1.54.0 libboost-program-options1.54-dev
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 22, 2016, 09:20:49 PM
 #4

Also tried

Code:
sudo apt-get purge bitcoind
sudo apt-get autoremove

Could it be a bad symbolic link or something?
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 22, 2016, 09:36:29 PM
 #5

Ok, creating a symbolic link fixed that problem.

Code:
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.54.0

Now I have this:

Code:
bitcoind: symbol lookup error: bitcoind: undefined symbol: _ZN5boost15program_options11to_internalERKSs
professor9
Jr. Member
*
Offline Offline

Activity: 45
Merit: 1


View Profile
September 02, 2017, 10:06:07 AM
 #6

i have managed to fight this **** through:
first of all install Ubuntu 14.04

apt-get update
sudo apt-get install libboost1.54-all-dev
sudo apt-get install libdb-dev libdb++-dev
sudo apt-get install libminiupnpc-dev

only this way, no symbolic link and other...
gallery2000
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


Live Stars - Adult Streaming Platform


View Profile
September 23, 2017, 06:20:26 AM
 #7

i have managed to fight this **** through:
first of all install Ubuntu 14.04

apt-get update
sudo apt-get install libboost1.54-all-dev
sudo apt-get install libdb-dev libdb++-dev
sudo apt-get install libminiupnpc-dev

only this way, no symbolic link and other...

libboost1.54 is for Ubuntu 14.04 and Ubuntu 16 does not compile with it.  You have to install these dependencies again

VegaAISolutions
Member
**
Offline Offline

Activity: 130
Merit: 10


View Profile WWW
September 23, 2017, 06:28:47 AM
 #8

the most efficient way to solve a dependency problem like this is to just containerized the application inside of an operating system that has the relevant libraries, even if you use a minimal install you can apply the libraries via volumes and other neat Docker tricks. though it's worth noting that docker isn't the only container system in the world.

alforro
Copper Member
Newbie
*
Offline Offline

Activity: 124
Merit: 0

I buy/sell crypto worldwide


View Profile WWW
March 29, 2018, 10:23:16 PM
 #9

Ok, creating a symbolic link fixed that problem.

Code:
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.54.0

Now I have this:

Code:
bitcoind: symbol lookup error: bitcoind: undefined symbol: _ZN5boost15program_options11to_internalERKSs

I get the same error with Ubuntu 16.04

Code:
undefined symbol: _ZN5boost15program_options11to_internalERKSs

I will post the solution if when I find it
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!