我要评分
获取效率
正确性
完整性
易理解

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.

  1. View the CMake version.
    1
    cmake --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:
    1
    yum install -y libarchive
    
  2. Optional: Upgrade CMake. For details, see Upgrading CMake.