Skip to content

Commit ad59cc6

Browse files
authored
fix: pin version of boost to 1.67 (#65)
1 parent e7130aa commit ad59cc6

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM golang:1.14-buster as builder
22

33
# Set up dependencies
4-
ENV PACKAGES jq curl wget jq file make git libgmp-dev gcc g++ swig libboost-serialization-dev
4+
ENV PACKAGES curl wget jq file make git libgmp-dev gcc g++ swig libboost-serialization1.67-dev
55

66
RUN apt-get update && \
77
apt-get install -y $PACKAGES && \

docs/docs/building.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
- Go 1.14+ (installation instructions available [here](https://golang.org/dl/]))
66

7-
### Ubuntu
7+
### Ubuntu 20.04 / Debian 10
88

99
```bash
1010
# Run the following command if using Ubuntu
11-
sudo apt-get install libgmp-dev swig libboost-all-dev
11+
sudo apt-get install libgmp-dev swig libboost-serialization1.67-dev
1212

1313
# Download and install the MCL libraries
1414
cd ~
@@ -54,3 +54,21 @@ For non-developer users we recommend that the user installs the binaries into th
5454
sudo make install
5555

5656
This will install the binaries in the directory specified by your `$GOBIN` environment variable.
57+
58+
### Boost Dependencies
59+
60+
Currently the code requires that the user compiles the code with at least version 1.67 of Boost Serialisation library. Failure to do so will mean that users will not be able to sync with the blockchain. This limitation will be resolved in the near future (with the Boost dependency being removed completely).
61+
62+
To verify which libraries you have linked against use the following commands
63+
64+
**Ubuntu 20.04 / Debian 10**
65+
66+
```bash
67+
ldd ./build/fetchd
68+
```
69+
70+
**MacOS**
71+
72+
```bash
73+
otool -L ./build/fetchd
74+
```

0 commit comments

Comments
 (0)