CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR CONAN_COMPILER CONAN_COMPILER_VERSION CONAN_CXX_FLAGS CONAN_C_FLAGS CONAN_EXPORTED CONAN_IN_LOCAL_CACHE CONAN_LIBCXX CONAN_SHARED_LINKER_FLAGS CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY SOCI_SHARED /usr/bin/ld: CMakeFiles/soci.tests.dir/test_package.cpp.o: in function `main': test_package.cpp:(.text+0x32): undefined reference to `soci::session::session(soci::backend_factory const&, std::string const&)' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/soci.tests.dir/build.make:105: soci.tests] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/soci.tests.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 ERROR: soci/4.0.1 (test package): Error in build() method, line 17 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-3924/20/aced1ab1-0b51-42b3-809a-37aed711d54c/recipes/soci/all/test_package/build/8262685150148963f989e2d631e8e868916105c9' '--' '-j3'