Author

Topic: libboost_program_options.so.1.54.0: cannot open shared object file (Read 5889 times)

copper member
Activity: 124
Merit: 0
I buy/sell crypto worldwide
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
member
Activity: 130
Merit: 10
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.
hero member
Activity: 784
Merit: 1000
Live Stars - Adult Streaming Platform
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
jr. member
Activity: 45
Merit: 1
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...
hero member
Activity: 765
Merit: 503
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
hero member
Activity: 765
Merit: 503
Also tried

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

Could it be a bad symbolic link or something?
hero member
Activity: 765
Merit: 503
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
sr. member
Activity: 462
Merit: 250
Looks like you're missing the boost library you need to run bitcoind, try this:
Code:
sudo apt-get install libboost-all-dev
hero member
Activity: 765
Merit: 503
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
Jump to: