Upgrading CMake
MongoDB requires that the CMake version be 3.4.3 or later. If the CMake version is earlier than 3.4.3, upgrade it.
- View the CMake version.
1cmake --version
If you encounter the problem "cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd" when viewing the CMake version, install the following dependency to resolve the problem:1yum install -y libarchive
- Optional: Upgrade CMake. For details, see Upgrading CMake.
Parent topic: Installing by Compiling Source Code