Bitcoin Forum
October 24, 2018, 04:18:50 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: libboost_program_options.so.1.54.0: cannot open shared object file  (Read 5366 times)
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 501


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
1540354730
Hero Member
*
Offline Offline

Posts: 1540354730

View Profile Personal Message (Offline)

Ignore
1540354730
Reply with quote  #2

1540354730
Report to moderator
1540354730
Hero Member
*
Offline Offline

Posts: 1540354730

View Profile Personal Message (Offline)

Ignore
1540354730
Reply with quote  #2

1540354730
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540354730
Hero Member
*
Offline Offline

Posts: 1540354730

View Profile Personal Message (Offline)

Ignore
1540354730
Reply with quote  #2

1540354730
Report to moderator
1540354730
Hero Member
*
Offline Offline

Posts: 1540354730

View Profile Personal Message (Offline)

Ignore
1540354730
Reply with quote  #2

1540354730
Report to moderator
1540354730
Hero Member
*
Offline Offline

Posts: 1540354730

View Profile Personal Message (Offline)

Ignore
1540354730
Reply with quote  #2

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

Activity: 406
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
Hero Member
*****
Offline Offline

Activity: 765
Merit: 501


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
Hero Member
*****
Offline Offline

Activity: 765
Merit: 501


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
Hero Member
*****
Offline Offline

Activity: 765
Merit: 501


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
Newbie
*
Offline Offline

Activity: 39
Merit: 0


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
Newbie
*
Offline Offline

Activity: 114
Merit: 0


View Profile
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!