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': /home/conan/w/cci_PR-3924/12/1e0a8e6e-bb2e-4d37-83a2-f01327b5a7c1/recipes/soci/all/test_package/test_package.cpp:10: undefined reference to `soci::session::session(soci::backend_factory const&, std::__1::basic_string, std::__1::allocator > 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/12/1e0a8e6e-bb2e-4d37-83a2-f01327b5a7c1/recipes/soci/all/test_package/build/cc24e14d768b66dda7f6da8a674abd028a7c9cfb' '--' '-j3'