2017-07-09 13:15:45 +02:00
|
|
|
Dependencies
|
|
|
|
============
|
|
|
|
|
|
|
|
These are the dependencies currently used by Bitcoin Core. You can find instructions for installing them in the `build-*.md` file for your platform.
|
|
|
|
|
2018-12-10 07:56:36 +01:00
|
|
|
| Dependency | Version used | Minimum required | CVEs | Shared | [Bundled Qt library](https://doc.qt.io/qt-5/configure-options.html#third-party-libraries) |
|
2017-09-07 13:52:38 +02:00
|
|
|
| --- | --- | --- | --- | --- | --- |
|
2018-12-10 07:56:36 +01:00
|
|
|
| Berkeley DB | [4.8.30](https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html) | 4.8.x | No | | |
|
2019-05-03 14:22:17 +02:00
|
|
|
| Boost | [1.70.0](https://www.boost.org/users/download/) | [1.47.0](https://github.com/bitcoin/bitcoin/pull/8920) | No | | |
|
2019-07-24 03:12:01 +02:00
|
|
|
| Clang | | [3.3+](https://releases.llvm.org/download.html) (C++11 support) | | | |
|
2019-06-22 13:20:50 +02:00
|
|
|
| Expat | [2.2.7](https://libexpat.github.io/) | | No | Yes | |
|
2017-09-07 13:52:38 +02:00
|
|
|
| fontconfig | [2.12.1](https://www.freedesktop.org/software/fontconfig/release/) | | No | Yes | |
|
2018-12-10 07:56:36 +01:00
|
|
|
| FreeType | [2.7.1](https://download.savannah.gnu.org/releases/freetype) | | No | | |
|
2018-08-02 16:25:52 +02:00
|
|
|
| GCC | | [4.8+](https://gcc.gnu.org/) (C++11 support) | | | |
|
2017-09-07 13:52:38 +02:00
|
|
|
| HarfBuzz-NG | | | | | |
|
2017-07-09 13:15:45 +02:00
|
|
|
| libevent | [2.1.8-stable](https://github.com/libevent/libevent/releases) | 2.0.22 | No | | |
|
2019-07-24 03:12:01 +02:00
|
|
|
| libpng | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) |
|
2019-03-28 11:43:40 +01:00
|
|
|
| librsvg | | | | | |
|
2018-02-10 02:07:32 +01:00
|
|
|
| MiniUPnPc | [2.0.20180203](http://miniupnp.free.fr/files) | | No | | |
|
2017-09-07 13:52:38 +02:00
|
|
|
| OpenSSL | [1.0.1k](https://www.openssl.org/source) | | Yes | | |
|
2019-07-24 03:12:01 +02:00
|
|
|
| PCRE | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) |
|
2018-08-02 16:25:52 +02:00
|
|
|
| protobuf | [2.6.1](https://github.com/google/protobuf/releases) | | No | | |
|
2019-02-21 00:13:43 +01:00
|
|
|
| Python (tests) | | [3.5](https://www.python.org/downloads) | | | |
|
2017-09-07 13:52:38 +02:00
|
|
|
| qrencode | [3.4.4](https://fukuchi.org/works/qrencode) | | No | | |
|
2019-02-12 20:24:29 +01:00
|
|
|
| Qt | [5.9.7](https://download.qt.io/official_releases/qt/) | [5.5.1](https://github.com/bitcoin/bitcoin/issues/13478) | No | | |
|
2019-07-24 03:12:01 +02:00
|
|
|
| XCB | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) (Linux only) |
|
|
|
|
| xkbcommon | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) (Linux only) |
|
2019-01-17 17:25:38 +01:00
|
|
|
| ZeroMQ | [4.3.1](https://github.com/zeromq/libzmq/releases) | 4.0.0 | No | | |
|
2018-08-02 16:25:52 +02:00
|
|
|
| zlib | [1.2.11](https://zlib.net/) | | | | No |
|
2019-01-23 10:00:33 +01:00
|
|
|
|
|
|
|
Controlling dependencies
|
|
|
|
------------------------
|
|
|
|
Some dependencies are not needed in all configurations. The following are some factors that affect the dependency list.
|
|
|
|
|
|
|
|
#### Options passed to `./configure`
|
|
|
|
* MiniUPnPc is not needed with `--with-miniupnpc=no`.
|
|
|
|
* Berkeley DB is not needed with `--disable-wallet`.
|
|
|
|
* protobuf is not needed with `--disable-bip70`.
|
|
|
|
* Qt is not needed with `--without-gui`.
|
|
|
|
* If the qrencode dependency is absent, QR support won't be added. To force an error when that happens, pass `--with-qrencode`.
|
|
|
|
* ZeroMQ is needed only with the `--with-zmq` option.
|
|
|
|
|
|
|
|
#### Other
|
2019-04-11 13:15:29 +02:00
|
|
|
* librsvg is only needed if you need to run `make deploy` on (cross-compilation to) macOS.
|