ENV : Virtual box
OS : Centos7
CPU : 6
RAM : 32 GB
cmake version 3.15.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Python 3.6.8
Conan version 1.31.2
# conan have been installed based on pip3
$ cmake -DUSE_CONAN=ON -DCMAKE_BUILD_TYPE=Release -G Ninja …
Result below.
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Current conanbuildinfo.cmake directory: /home/nem/catapult-server/_build
-- Conan: Compiler GCC>=5, checking major version 9
-- Conan: Checking correct version: 9
-- Found GTest: /home/nem/.conan/data/gtest/1.10.0/_/_/package/50a5030bbbb13ae56bc4be41915ecd48549cb895/lib/libgtest.a
-- CATAPULT_VERSION_DESCRIPTION: b45797c [main]
-- USE_CONAN: ON
-- CMAKE_CXX_COMPILER_ID: GNU
-- CMAKE_CXX_FLAGS: -Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wformat-security -Werror -Wstrict-aliasing=1 -fvisibility=hidden
-- CMAKE_PREFIX_PATH: /home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/;/home/nem/.conan/data/cppzmq/4.6.0/nemtech/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/;/home/nem/.conan/data/mongo-cxx-driver/3.6.0-nem/nemtech/stable/package/c1eecb5fc026d6739ddf8a2bf7a769db65b6d259/;/home/nem/.conan/data/openssl/1.1.1g/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/;/home/nem/.conan/data/rocksdb/6.11.4/nemtech/stable/package/a747b850a5138ede3203b2de52c5cb1d61110b34/;/home/nem/.conan/data/benchmark/1.5.1/nemtech/stable/package/9ec7e6c55ee108e231bdef75e23776b8b86d821d/;/home/nem/.conan/data/gtest/1.10.0/_/_/package/50a5030bbbb13ae56bc4be41915ecd48549cb895/;/home/nem/.conan/data/zeromq/4.3.2/nemtech/stable/package/c315fa4cdecf2499320fcabbd4fdfda4282d90d9/;/home/nem/.conan/data/mongo-c-driver/1.17.0/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/
-- CMAKE_MODULE_PATH: /home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/;/home/nem/.conan/data/cppzmq/4.6.0/nemtech/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/;/home/nem/.conan/data/mongo-cxx-driver/3.6.0-nem/nemtech/stable/package/c1eecb5fc026d6739ddf8a2bf7a769db65b6d259/;/home/nem/.conan/data/openssl/1.1.1g/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/;/home/nem/.conan/data/rocksdb/6.11.4/nemtech/stable/package/a747b850a5138ede3203b2de52c5cb1d61110b34/;/home/nem/.conan/data/benchmark/1.5.1/nemtech/stable/package/9ec7e6c55ee108e231bdef75e23776b8b86d821d/;/home/nem/.conan/data/gtest/1.10.0/_/_/package/50a5030bbbb13ae56bc4be41915ecd48549cb895/;/home/nem/.conan/data/zeromq/4.3.2/nemtech/stable/package/c315fa4cdecf2499320fcabbd4fdfda4282d90d9/;/home/nem/.conan/data/mongo-c-driver/1.17.0/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/
-- CMAKE_BUILD_TYPE: Release
--- locating boost dependencies ---
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
CMake Warning at /usr/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:33 (find_package)
-- Found Threads: TRUE
-- Found Boost: /home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/include (found version "1.73.0") found components: atomic system date_time regex timer chrono log thread filesystem program_options log_setup
boost ver: 107300
boost inc: /home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/include
boost libs: /home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_atomic.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_system.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_date_time.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_regex.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_timer.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_chrono.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_log.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_thread.so;-lpthread;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_filesystem.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_program_options.so;/home/nem/.conan/data/boost/1.73.0/_/_/package/3b1b677e9d113669c893207795e16da7076f2d06/lib/libboost_log_setup.so
--- locating openssl dependencies ---
-- Found OpenSSL: /home/nem/.conan/data/openssl/1.1.1g/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/lib/libcrypto.so (found version "1.1.1g")
OpenSSL ver: 1.1.1g
OpenSSL root:
OpenSSL inc: /home/nem/.conan/data/openssl/1.1.1g/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/include
OpenSSL libs: /home/nem/.conan/data/openssl/1.1.1g/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/lib/libssl.so;/home/nem/.conan/data/openssl/1.1.1g/nemtech/stable/package/43210353fd7084c5b95e27c1675921b6024a3e6d/lib/libcrypto.so
--- locating rocksdb dependencies ---
rocksdb ver: 6.11.4
rocksdb inc: /home/nem/.conan/data/rocksdb/6.11.4/nemtech/stable/package/a747b850a5138ede3203b2de52c5cb1d61110b34/include
rocksdb lib: /home/nem/.conan/data/rocksdb/6.11.4/nemtech/stable/package/a747b850a5138ede3203b2de52c5cb1d61110b34/lib/librocksdb.so.6.11.4
--- locating mongo dependencies ---
mongocxx ver: 3.6.0
mongoc ver: 1.17.0
mongocxx lib: /home/nem/.conan/data/mongo-cxx-driver/3.6.0-nem/nemtech/stable/package/c1eecb5fc026d6739ddf8a2bf7a769db65b6d259/lib/libmongocxx.so.3.6.0
--- locating zeromq dependencies ---
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
zeromq ver:
zeromq inc:
zeromq lib: /home/nem/.conan/data/zeromq/4.3.2/nemtech/stable/package/c315fa4cdecf2499320fcabbd4fdfda4282d90d9/lib/libzmq.so
cppzmq ver: 4.6.0
cppzmq inc: /home/nem/.conan/data/cppzmq/4.6.0/nemtech/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nem/catapult-server/_build
$ ninja publish
Result below.
[1/1] Generating ../../catapult/catapult.h
$ ninja -j4
ninja: error: '/usr/lib/x86_64-linux-gnu/librt.so', needed by 'bin/bench.catapult.crypto.hashers', missing and no known rule to make it
Anyone help in this issue would be appreciated.