bitcoin: Missing Boost::System on ARM Ubuntu 18.04
Following the Ubuntu instructions on an Orange Pi Plus 2e running Ubuntu Bionic (Armbian):
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 ccache
sudo apt-get install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
./autogen.sh
./configure --disable-wallet --without-gui --disable-tests --disable-bench
...
checking for boostlib >= 1.47.0 (104700)... yes
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the Boost::System library!
Linux orangepiplus2e 4.19.57-sunxi #5.90 SMP Fri Jul 5 17:58:43 CEST 2019 armv7l armv7l armv7l GNU/Linux
As suggested on Stack Overflow, adding --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
works around the issue. But ideally ./configure
should figure this out.
I’ve installed Bitcoin Core on the same type of device before, also using Armbian, though this was over a year ago. I did not need the workaround back then.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to bitcoin/bitcoin by laanwj 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to HashUnlimited/chaincoin by laanwj 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to fxtc/fxtc by laanwj 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to fxtc/fxtc by laanwj 5 years ago
- doc: Remove ssl as a required dependency from build-unix — committed to bitcoin/bitcoin by laanwj 5 years ago
- [depends] boost: update to 1.70 Summary: Backport of core [[https://github.com/bitcoin/bitcoin/pull/15461 | PR15461]]. This PR is known to cause 2 issues: - The build (native) on ARM might be broke... — committed to Bitcoin-ABC/bitcoin-abc by Sjors 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to hebasto/bitcoin by laanwj 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem (see #17010); plea... — committed to hebasto/bitcoin by laanwj 5 years ago
- [backport] [depends] boost: update to 1.70 Summary: Backport of core [[https://github.com/bitcoin/bitcoin/pull/15461 | PR15461]]. This PR is known to cause 2 issues: - The build (native) on ARM mig... — committed to bitcoin-cash-node/bitcoin-cash-node by Sjors 5 years ago
- Merge #18558: build: Fix boost detection for arch armv7l da0842dcd44f8c9c9b167917fac0949b4978c3b0 build: Update ax_boost_mase.m4 to the latest serial (Hennadii Stepanov) Pull request description: ... — committed to PastaPastaPasta/dash by laanwj 4 years ago
- Merge #18558: build: Fix boost detection for arch armv7l da0842dcd44f8c9c9b167917fac0949b4978c3b0 build: Update ax_boost_mase.m4 to the latest serial (Hennadii Stepanov) Pull request description: ... — committed to PastaPastaPasta/dash by laanwj 4 years ago
- Merge #18558: build: Fix boost detection for arch armv7l da0842dcd44f8c9c9b167917fac0949b4978c3b0 build: Update ax_boost_mase.m4 to the latest serial (Hennadii Stepanov) Pull request description: ... — committed to PastaPastaPasta/dash by laanwj 4 years ago
- Merge #18558: build: Fix boost detection for arch armv7l da0842dcd44f8c9c9b167917fac0949b4978c3b0 build: Update ax_boost_mase.m4 to the latest serial (Hennadii Stepanov) Pull request description: ... — committed to PastaPastaPasta/dash by laanwj 4 years ago
- Merge #18558: build: Fix boost detection for arch armv7l da0842dcd44f8c9c9b167917fac0949b4978c3b0 build: Update ax_boost_mase.m4 to the latest serial (Hennadii Stepanov) Pull request description: ... — committed to PastaPastaPasta/dash by laanwj 4 years ago
- Merge #18558: build: Fix boost detection for arch armv7l da0842dcd44f8c9c9b167917fac0949b4978c3b0 build: Update ax_boost_mase.m4 to the latest serial (Hennadii Stepanov) Pull request description: ... — committed to PastaPastaPasta/dash by laanwj 4 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to vijaydasmp/dash by laanwj 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to Munkybooty/dash by laanwj 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to vijaydasmp/dash by laanwj 5 years ago
- build: Fix boost detection on Ubuntu ARM 18.04 Update ax_boost_base.m4 to version in progress: autoconf-archive/autoconf-archive#198 This is a temporary workaround for the problem in the 0.19.0 rele... — committed to Munkybooty/dash by laanwj 5 years ago
- Merge #18558: build: Fix boost detection for arch armv7l da0842dcd44f8c9c9b167917fac0949b4978c3b0 build: Update ax_boost_mase.m4 to the latest serial (Hennadii Stepanov) Pull request description: ... — committed to cosanta/cosanta-core by laanwj 4 years ago
My guess is this was broken in #15461 when the boost_base.m4 was updated, but our libsubdirs patch was dropped. I will get our patch upstreamed then pull the latest macro down.
Tested https://github.com/autoconf-archive/autoconf-archive/pull/214 on ODROID-HC1 (ARMv7l + Ubuntu 18.04.4): it works both with GCC 7.5.0 and Clang 6.0.0 compilers.
Therefore, I’d suggest to drop https://github.com/autoconf-archive/autoconf-archive/pull/198 in favor of https://github.com/autoconf-archive/autoconf-archive/pull/214, and apply changes in master before 0.20 branch off.
If no objections, going to replace #18501 accordingly.
It does look like the upstreaming is taking longer than expected. I don’t think it’s good to hold up rc1 on this, so going to push the fix to 0.19.0 only—master can wait for upstreaming.
The patch itself: 54c7df81f3e5f81cb91646acaf82074a3a6be3b2 from #4704.
@Sjors
This is not your fault 😉
Try this patch: