Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: gelius on February 07, 2017, 12:21:50 AM



Title: bitcoind, boostlib problem
Post by: gelius on February 07, 2017, 12:21:50 AM
Don't can ./configure bitcoind:
Code:
checking for boostlib >= 1.47.0... yes
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the boost_system library!
ubuntu 16.04


Title: Re: bitcoind, boostlib problem
Post by: cr1776 on February 07, 2017, 12:50:10 AM
You might give this a try:
Code:
apt-get install libboost-all-dev
And see if that helps.  I have compiled 0.13.x on Ubuntu 16.04 successfully.  Is that the version you are working with?

If not, you could try something like this (iirc):
Code:
./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu


Title: Re: bitcoind, boostlib problem
Post by: gelius on February 07, 2017, 12:57:11 AM
I don't can
Code:
apt-get install libboost-all-dev
result:
Code:
 apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-all-dev : Depends: libboost-dev but it is not going to be installed
                    Depends: libboost-program-options-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
libboost-dev and libboost-program-options-dev installed no problem.


Title: Re: bitcoind, boostlib problem
Post by: gelius on February 07, 2017, 01:26:50 AM
I install bitcoind to my server 2 days.
2 days only for install, and don't positive result.
https://bitcointalk.org/index.php?topic=1779743.msg17748645#msg17748645
centos 6.8 does not fit?
ok. reinstall to ubuntu 16.04.
i see only "error, problem, problem, error, no, incorrect".
Why this fucking my brain?


Title: Re: bitcoind, boostlib problem
Post by: gelius on February 07, 2017, 02:02:59 AM
new attempt. use bitcoin repo.
Code:
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
result:
Code:
sudo apt-get install bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 bitcoind : Depends: libboost-chrono1.58.0 but it is not installable
            Depends: libzmq5 (>= 3.2.3+dfsg) but it is not installable
E: Unable to correct problems, you have held broken packages.
wtf? this only install. need easy, don't quests.


Title: Re: bitcoind, boostlib problem
Post by: achow101 on February 07, 2017, 02:08:30 AM
Your english is very hard to understand.

You have an error with your package manager. Something is broken about it, it cannot retrieve the necessary dependency packages of a package. This is not an issue with bitcoind or boost but rather an issue with your system. Google the error and you should be able to find a way to fix it.


Title: Re: bitcoind, boostlib problem
Post by: onnz423 on February 07, 2017, 05:10:30 AM
I don't can
Code:
apt-get install libboost-all-dev
result:
Code:
 apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-all-dev : Depends: libboost-dev but it is not going to be installed
                    Depends: libboost-program-options-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
libboost-dev and libboost-program-options-dev installed no problem.

Do:
Code:
dpkg --get-selections | grep hold
See what the packages are. Reinstall them, then do the.
Code:
apt-get update

Then tr running the same command again, let me know how that works.