2017-07-09 13:15:45 +02:00
Dependencies
============
2022-12-28 11:06:35 +01:00
These are the dependencies currently used by Dash Core. You can find instructions for installing them in the `build-*.md` file for your platform.
2017-07-09 13:15:45 +02:00
2022-12-28 11:03:52 +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
| --- | --- | --- | --- | --- | --- |
2022-12-28 11:03:52 +01:00
| Berkeley DB | [4.8.30 ](https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html ) | 4.8.x | No | | |
2023-12-13 15:21:58 +01:00
| Boost | [1.81.0 ](https://www.boost.org/users/download/ ) | [1.73.0 ](https://github.com/bitcoin/bitcoin/pull/29066 ) | No | | |
2022-12-28 11:03:52 +01:00
| Clang< sup > [ \* ](#note1)</ sup > | | [5.0+ ](https://releases.llvm.org/download.html ) (C++17 support) | | | |
2017-09-07 13:52:38 +02:00
| fontconfig | [2.12.1 ](https://www.freedesktop.org/software/fontconfig/release/ ) | | No | Yes | |
2023-08-03 13:45:17 +02:00
| FreeType | [2.11.0 ](https://download.savannah.gnu.org/releases/freetype ) | | No | | [Yes ](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk ) (Android only) |
2022-12-28 11:03:52 +01:00
| GCC | | [7+ ](https://gcc.gnu.org/ ) (C++17 support) | | | |
2024-11-03 21:44:22 +01:00
| glibc | | [2.31 ](https://www.gnu.org/software/libc/ ) | | | | |
2022-12-28 11:06:35 +01:00
| HarfBuzz-NG | | | | | [Yes ](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk ) |
2023-06-20 15:28:05 +02:00
| libevent | [2.1.12-stable ](https://github.com/libevent/libevent/releases ) | [2.0.21 ](https://github.com/bitcoin/bitcoin/pull/18676 ) | No | | |
2022-12-28 11:03:52 +01:00
| libnatpmp | git commit [4536032... ](https://github.com/miniupnp/libnatpmp/tree/4536032ae32268a45c073a4d5e91bbab4534773a ) | | No | | |
2022-12-28 11:06:35 +01:00
| libpng | | | | | [Yes ](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk ) |
2023-06-12 14:02:58 +02:00
| Linux Kernel | [N/A ](https://www.kernel.org/ ) | 3.2.0 | | | |
2020-11-19 00:43:42 +01:00
| MiniUPnPc | [2.2.2 ](https://miniupnp.tuxfamily.org/files ) | | No | | |
2022-12-28 11:06:35 +01:00
| PCRE | | | | | [Yes ](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk ) |
2024-10-22 17:05:06 +02:00
| Python (tests) | | [3.9 ](https://www.python.org/downloads ) | | | |
2017-09-07 13:52:38 +02:00
| qrencode | [3.4.4 ](https://fukuchi.org/works/qrencode ) | | No | | |
2023-11-02 10:50:39 +01:00
| Qt | [5.15.11 ](https://download.qt.io/official_releases/qt/ ) | [5.11.3 ](https://github.com/bitcoin/bitcoin/pull/24132 ) | No | | |
2023-02-04 19:26:20 +01:00
| SQLite | [3.32.1 ](https://sqlite.org/download.html ) | [3.7.17 ](https://github.com/bitcoin/bitcoin/pull/19077 ) | | | |
2022-12-28 11:06:35 +01:00
| XCB | | | | | [Yes ](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk ) (Linux only) |
2024-08-26 15:54:31 +02:00
| systemtap ([tracing](tracing.md))| [4.8 ](https://sourceware.org/ftp/systemtap/releases/ ) | | | | |
2022-12-28 11:06:35 +01:00
| xkbcommon | | | | | [Yes ](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk ) (Linux only) |
2022-12-28 11:03:52 +01:00
| ZeroMQ | [4.3.1 ](https://github.com/zeromq/libzmq/releases ) | 4.0.0 | No | | |
2022-12-28 11:06:35 +01:00
| zlib | | | | | [Yes ](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk ) |
2022-12-28 11:03:52 +01:00
< a name = "note1" > Note \*</ a > : When compiling with `-stdlib=libc++` , the minimum supported libc++ version is 7.0.
2022-12-28 10:47:08 +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`
2022-12-28 11:03:52 +01:00
* MiniUPnPc is not needed with `--without-miniupnpc` .
2023-02-04 19:28:21 +01:00
* Berkeley DB is not needed with `--disable-wallet` or `--without-bdb` .
2023-02-03 15:46:16 +01:00
* SQLite is not needed with `--disable-wallet` or `--without-sqlite` .
2022-12-28 11:03:52 +01:00
* libnatpmp is not needed with `--without-natpmp` .
2022-12-28 10:47:08 +01:00
* 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` .
2024-08-25 17:13:52 +02:00
* If the systemtap dependency is absent, USDT support won't compiled in.
2022-12-28 10:47:08 +01:00
* ZeroMQ is needed only with the `--with-zmq` option.
#### Other
2022-12-28 11:03:52 +01:00
* Not-Qt-bundled zlib is required to build the [DMG tool ](../contrib/macdeploy/README.md#deterministic-macos-dmg-notes ) from the libdmg-hfsplus project.