Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] soci/*: Backends don't link against required libraries #11628

Closed
Cogitri opened this issue Jul 11, 2022 · 2 comments · Fixed by #17245
Closed

[package] soci/*: Backends don't link against required libraries #11628

Cogitri opened this issue Jul 11, 2022 · 2 comments · Fixed by #17245
Labels
bug Something isn't working

Comments

@Cogitri
Copy link
Contributor

Cogitri commented Jul 11, 2022

Package and Environment Details

  • Package Name/Version: soci/4.0.3
  • Operating System+version: Linux Ubuntu 22.04
  • Compiler+version: CLang 12
  • Conan version: conan 1.48.0
  • Python version: Python 3.10.4

The soci PostgreSQL and SQLite backend (and probably the other backends too) don't link against the respective required DB-library. During configuration SOCI's CMake prints:

-- PostgreSQL: 
-- Conan: Using autogenerated FindPostgreSQL.cmake
-- Library pq found
[...]
-- POSTGRESQL_INCLUDE_DIRS                  =  
-- POSTGRESQL_LIBRARIES                     =  
-- POSTGRESQL_VERSION                       =  
-- SQLite3: 
-- Conan: Using autogenerated FindSQLite3.cmake
-- Found SQLite3: 3.38.0 (found version "3.38.0") 
[...]
-- SQLITE3_INCLUDE_DIR                      =  
-- SQLITE3_LIBRARIES                        =  

I think SOCI's FindPostgreSQL and FindSQLite3 modules don't play nice with Conan's autogenerated find_package scripts.

Conan profile

[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=12
compiler.libcxx=libstdc++
build_type=Release
compiler.cppstd=17
[options]
[conf]
[build_requires]
[env]

Steps to reproduce

cd recipes/soci/all
conan create -o libpq:shared=True -o sqlite3:shared=True -o soci:shared=True -o soci:with_sqlite3=True soci:with_postgresql=True . 4.0.3@
ldd $HOME/.conan/data/soci/4.0.3///package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_postgresql.so # Doesn't print libpq

Logs

Click to expand log
Exporting package recipe
soci/4.0.3 exports: File 'conandata.yml' found. Exporting it...
soci/4.0.3 exports: Copied 1 '.yml' file: conandata.yml
soci/4.0.3: Calling export_sources()
soci/4.0.3 export_sources() method: Copied 1 '.txt' file: CMakeLists.txt
soci/4.0.3: The stored package has not changed
soci/4.0.3: Using the exported files summary hash as the recipe revision: ecf3915c1ac91c93f1f03fb828e47aad 
soci/4.0.3: Exported revision: ecf3915c1ac91c93f1f03fb828e47aad
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=clang
compiler.cppstd=17
compiler.libcxx=libstdc++
compiler.version=12
os=Linux
os.vendor=dampsoft
os_build=Linux
[options]
libpq:shared=True
soci:shared=True
soci:with_postgresql=True
soci:with_sqlite3=True
sqlite3:shared=True
[build_requires]
[env]

soci/4.0.3: Forced build from source
soci/4.0.3 (test package): Installing package
Requirements
    libpq/13.4 from 'conan-local' - Cache
    soci/4.0.3 from local cache - Cache
    sqlite3/3.38.0 from 'conan-local' - Cache
Packages
    libpq/13.4:83577ae6a55607dab0fa5cb2e455a834e384187f - Cache
    soci/4.0.3:7fdc17dbbac95ba346436d0e26b435bbc5a3330d - Build
    sqlite3/3.38.0:e547218891168bde3cc56ab8b5088af7f39d236e - Cache

Installing (downloading, building) binaries...
libpq/13.4: Already installed!
sqlite3/3.38.0: Already installed!
sqlite3/3.38.0: Appending PATH env var with : /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/bin
soci/4.0.3: Copying sources to build folder
soci/4.0.3: Building your package in /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d
soci/4.0.3: Generator cmake created conanbuildinfo.cmake
soci/4.0.3: Generator cmake_find_package created FindSQLite3.cmake
soci/4.0.3: Generator cmake_find_package created FindPostgreSQL.cmake
soci/4.0.3: Aggregating env generators
soci/4.0.3: Calling build()
-- The C compiler identification is Clang 12.0.1
-- The CXX compiler identification is Clang 12.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting language standard
-- Conan setting CPP STANDARD: 17 WITH EXTENSIONS OFF
-- Conan: Compiler Clang>=8, checking major version 12
-- Conan: Checking correct version: 12
-- Conan: C++ stdlib: libstdc++
-- Performing Test SOCI_HAVE_VISIBILITY_SUPPORT
-- Performing Test SOCI_HAVE_VISIBILITY_SUPPORT - Success
-- gcc / clang visibility enabled
-- Looking for __i386__
-- Looking for __i386__ - not found
-- Looking for __x86_64__
-- Looking for __x86_64__ - found
-- Looking for __arm__
-- Looking for __arm__ - not found
-- Configuring SOCI: 
-- SOCI_VERSION                             = 4.0.3 
-- SOCI_ABI_VERSION                         = 4.0 
-- SOCI_SHARED                              = True 
-- SOCI_STATIC                              = False 
-- SOCI_TESTS                               = False 
-- SOCI_ASAN                                = OFF 
-- SOCI_CXX11                               = ON 
-- LIB_SUFFIX                               = 64 
-- Looking for SOCI dependencies: 
-- Threads: 
-- CMAKE_THREAD_LIBS_INIT                   =  
-- Boost: disabled, since WITH_BOOST=OFF 
-- MySQL: disabled, since WITH_MYSQL=OFF 
-- ODBC: disabled, since WITH_ODBC=OFF 
-- Oracle: disabled, since WITH_ORACLE=OFF 
-- PostgreSQL: 
-- Conan: Using autogenerated FindPostgreSQL.cmake
-- Library pq found /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- Found: /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- Library pq found /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- Found: /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- POSTGRESQL_INCLUDE_DIRS                  =  
-- POSTGRESQL_LIBRARIES                     =  
-- POSTGRESQL_VERSION                       =  
-- SQLite3: 
-- Conan: Using autogenerated FindSQLite3.cmake
-- Found SQLite3: 3.38.0 (found version "3.38.0") 
-- Library sqlite3 found /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- Found: /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- Library sqlite3 found /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- Found: /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- SQLITE3_INCLUDE_DIR                      =  
-- SQLITE3_LIBRARIES                        =  
-- Firebird: disabled, since WITH_FIREBIRD=OFF 
-- DB2: disabled, since WITH_DB2=OFF 
-- Configuring SOCI core library: 
-- SOCI_CORE_TARGET                         = soci_core 
-- SOCI_CORE_TARGET_OUTPUT_NAME             = soci_core 
-- SOCI_CORE_DEPS_LIBS                      = /usr/lib/x86_64-linux-gnu/libdl.a 
-- SOCI_CORE_INCLUDE_DIRS                   = /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/include /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/include $<$<CONFIG:Release>:> $<$<CONFIG:RelWithDebInfo>:> $<$<CONFIG:MinSizeRel>:> $<$<CONFIG:Debug>:> /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include/private /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/src/core 
-- WITH_BOOST                               = False 
-- COMPILE_DEFINITIONS                      = _GLIBCXX_USE_CXX11_ABI=0 CATCH_CONFIG_CPP11_NO_IS_ENUM SOCI_ABI_VERSION="4.0" HAVE_DL=1 SOCI_LIB_PREFIX="libsoci_" SOCI_LIB_SUFFIX=".so" SOCI_DEBUG_POSTFIX="" 
-- 
-- Configuring SOCI backend libraries: 
-- Conan: Using autogenerated FindPostgreSQL.cmake
-- Library pq found /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- Skipping already existing target: CONAN_LIB::PostgreSQL_pq
-- Found: /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- Library pq found /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- Skipping already existing target: CONAN_LIB::PostgreSQL_pq_pq
-- Found: /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/lib/libpq.so
-- Conan: Using autogenerated FindSQLite3.cmake
-- Library sqlite3 found /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- Skipping already existing target: CONAN_LIB::SQLite_sqlite3
-- Found: /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- Library sqlite3 found /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- Skipping already existing target: CONAN_LIB::SQLite_SQLite3_sqlite3
-- Found: /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/lib/libsqlite3.so
-- PostgreSQL - SOCI backend for PostgreSQL 
-- SOCI_POSTGRESQL                          = ON 
-- SOCI_POSTGRESQL_TARGET                   = soci_postgresql 
-- SOCI_POSTGRESQL_OUTPUT_NAME              = soci_postgresql 
-- SOCI_POSTGRESQL_COMPILE_DEFINITIONS      = _GLIBCXX_USE_CXX11_ABI=0 CATCH_CONFIG_CPP11_NO_IS_ENUM SOCI_ABI_VERSION="4.0" HAVE_DL=1 SOCI_POSTGRESQL_NOSINGLEROWMODE=1 
-- SOCI_POSTGRESQL_INCLUDE_DIRECTORIES      = /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/include /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/include $<$<CONFIG:Release>:> $<$<CONFIG:RelWithDebInfo>:> $<$<CONFIG:MinSizeRel>:> $<$<CONFIG:Debug>:> /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include/private /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include/private 
-- SOCI_POSTGRESQL_NOSINLGEROWMODE          =  
-- SQLite3 - SOCI backend for SQLite 3 
-- SOCI_SQLITE3                             = ON 
-- SOCI_SQLITE3_TARGET                      = soci_sqlite3 
-- SOCI_SQLITE3_OUTPUT_NAME                 = soci_sqlite3 
-- SOCI_SQLITE3_COMPILE_DEFINITIONS         = _GLIBCXX_USE_CXX11_ABI=0 CATCH_CONFIG_CPP11_NO_IS_ENUM SOCI_ABI_VERSION="4.0" HAVE_DL=1 
-- SOCI_SQLITE3_INCLUDE_DIRECTORIES         = /home/rasmus/.conan/data/sqlite3/3.38.0/_/_/package/e547218891168bde3cc56ab8b5088af7f39d236e/include /home/rasmus/.conan/data/libpq/13.4/_/_/package/83577ae6a55607dab0fa5cb2e455a834e384187f/include $<$<CONFIG:Release>:> $<$<CONFIG:RelWithDebInfo>:> $<$<CONFIG:MinSizeRel>:> $<$<CONFIG:Debug>:> /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include/private /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/source_subfolder/include/private 
-- 
-- 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY


-- Build files have been written to: /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d
[  2%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/error.cpp.o
[  4%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/backend-loader.cpp.o
[  6%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/blob.cpp.o
[  9%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/common.cpp.o
[ 13%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/connection-pool.cpp.o
[ 13%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/connection-parameters.cpp.o
[ 15%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/into-type.cpp.o
[ 18%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/logger.cpp.o
[ 20%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/once-temp-type.cpp.o
[ 22%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/prepare-temp-type.cpp.o
[ 25%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/ref-counted-prepare-info.cpp.o
[ 27%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/procedure.cpp.o
[ 29%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/ref-counted-statement.cpp.o
[ 31%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/row.cpp.o
[ 34%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/rowid.cpp.o
[ 36%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/session.cpp.o
[ 38%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/statement.cpp.o
[ 40%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/soci-simple.cpp.o
[ 43%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/transaction.cpp.o
[ 45%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/use-type.cpp.o
[ 47%] Building CXX object source_subfolder/src/core/CMakeFiles/soci_core.dir/values.cpp.o
[ 50%] Linking CXX shared library ../../../lib/libsoci_core.so
[ 50%] Built target soci_core
[ 56%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/row-id.cpp.o
[ 56%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/blob.cpp.o
[ 59%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/blob.cpp.o
[ 59%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/row-id.cpp.o
[ 61%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/session.cpp.o
[ 63%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/standard-into-type.cpp.o
[ 68%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/error.cpp.o
[ 65%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/error.cpp.o
[ 70%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/factory.cpp.o
[ 72%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/factory.cpp.o
[ 77%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/standard-use-type.cpp.o
[ 77%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/session.cpp.o
[ 79%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/standard-into-type.cpp.o
[ 81%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/standard-use-type.cpp.o
[ 84%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/statement.cpp.o
[ 86%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/statement.cpp.o
[ 88%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/vector-into-type.cpp.o
[ 90%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/vector-use-type.cpp.o
[ 93%] Building CXX object source_subfolder/src/backends/postgresql/CMakeFiles/soci_postgresql.dir/vector-use-type.cpp.o
[ 95%] Building CXX object source_subfolder/src/backends/sqlite3/CMakeFiles/soci_sqlite3.dir/vector-into-type.cpp.o
[ 97%] Linking CXX shared library ../../../../lib/libsoci_postgresql.so
[ 97%] Built target soci_postgresql
[100%] Linking CXX shared library ../../../../lib/libsoci_sqlite3.so
[100%] Built target soci_sqlite3
soci/4.0.3: Package '7fdc17dbbac95ba346436d0e26b435bbc5a3330d' built
soci/4.0.3: Build folder /home/rasmus/.conan/data/soci/4.0.3/_/_/build/7fdc17dbbac95ba346436d0e26b435bbc5a3330d
soci/4.0.3: Generated conaninfo.txt
soci/4.0.3: Generated conanbuildinfo.txt
soci/4.0.3: Generating the package
soci/4.0.3: Package folder /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d
soci/4.0.3: Calling package()
Consolidate compiler generated dependencies of target soci_core
[ 50%] Built target soci_core
Consolidate compiler generated dependencies of target soci_sqlite3
Consolidate compiler generated dependencies of target soci_postgresql
[ 75%] Built target soci_postgresql
[100%] Built target soci_sqlite3
Install the project...
-- Install configuration: "Release"
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-ptr.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-conversion.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/callbacks.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/logger.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/column-info.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/connection-parameters.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/postgresql
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/postgresql/soci-postgresql.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/values.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/firebird
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/firebird/soci-firebird.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/transaction.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/query_transformation.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/unsigned-types.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/use-type.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/error.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/into-type.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-wrappers.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/odbc
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/odbc/soci-odbc.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/bind-values.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/exchange-traits.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/row-exchange.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/connection-pool.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/procedure.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/rowid.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-conversion-traits.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-config.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-simple.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-config.h.in
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/rowid-exchange.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/rowset.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/noreturn.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-optional.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-holder.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/backend-loader.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/mysql
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/mysql/soci-mysql.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/statement.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/ref-counted-prepare-info.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/oracle
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/oracle/soci-oracle.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/row.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/ref-counted-statement.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/session.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/once-temp-type.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/version.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/use.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/empty
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/empty/soci-empty.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-platform.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/blob.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-tuple.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/db2
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/db2/soci-db2.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-gregorian-date.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/prepare-temp-type.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/blob-exchange.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-fusion.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/values-exchange.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/into.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/sqlite3
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/sqlite3/soci-sqlite3.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-backend.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/backend-loader.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/bind-values.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/blob-exchange.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/blob.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-fusion.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-gregorian-date.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-optional.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/boost-tuple.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/callbacks.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/column-info.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/connection-parameters.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/connection-pool.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/error.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/exchange-traits.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/into-type.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/into.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/logger.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/noreturn.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/once-temp-type.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/prepare-temp-type.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/procedure.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/query_transformation.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/ref-counted-prepare-info.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/ref-counted-statement.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/row-exchange.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/row.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/rowid-exchange.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/rowid.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/rowset.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/session.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-backend.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-platform.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci-simple.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/soci.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/statement.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/transaction.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-conversion-traits.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-conversion.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-holder.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-ptr.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/type-wrappers.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/unsigned-types.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/use-type.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/use.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/values-exchange.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/values.h
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/version.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_core.so.4.0.3
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_core.so.4.0
-- Set runtime path of "/home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_core.so.4.0.3" to ""
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_core.so
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/cmake/SOCI/SOCITargets.cmake
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/cmake/SOCI/SOCITargets-release.cmake
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/cmake/SOCI/SOCIConfig.cmake
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/cmake/SOCI/SOCIConfigVersion.cmake
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/postgresql/soci-postgresql.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_postgresql.so.4.0.3
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_postgresql.so.4.0
-- Set runtime path of "/home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_postgresql.so.4.0.3" to ""
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_postgresql.so
-- Up-to-date: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/include/soci/sqlite3/soci-sqlite3.h
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_sqlite3.so.4.0.3
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_sqlite3.so.4.0
-- Set runtime path of "/home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_sqlite3.so.4.0.3" to ""
-- Installing: /home/rasmus/.conan/data/soci/4.0.3/_/_/package/7fdc17dbbac95ba346436d0e26b435bbc5a3330d/lib/libsoci_sqlite3.so
soci/4.0.3 package(): Packaged 1 '.txt' file: LICENSE_1_0.txt
soci/4.0.3 package(): Packaged 56 '.h' files
soci/4.0.3 package(): Packaged 3 '.so' files: libsoci_postgresql.so, libsoci_sqlite3.so, libsoci_core.so
soci/4.0.3 package(): Packaged 3 '.3' files: libsoci_sqlite3.so.4.0.3, libsoci_postgresql.so.4.0.3, libsoci_core.so.4.0.3
soci/4.0.3 package(): Packaged 3 '.0' files: libsoci_core.so.4.0, libsoci_postgresql.so.4.0, libsoci_sqlite3.so.4.0
soci/4.0.3: Package '7fdc17dbbac95ba346436d0e26b435bbc5a3330d' created
soci/4.0.3: Created package revision 41dfddf9ad2d411efcaaed6f55794c8e
soci/4.0.3 (test package): Generator cmake_find_package_multi created SOCIConfigVersion.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created SOCITarget-release.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created SOCITargets.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created SOCIConfig.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created SQLite3ConfigVersion.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created SQLite3Target-release.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created SQLite3Targets.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created SQLite3Config.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created PostgreSQLConfigVersion.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created PostgreSQLTarget-release.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created PostgreSQLTargets.cmake
soci/4.0.3 (test package): Generator cmake_find_package_multi created PostgreSQLConfig.cmake
soci/4.0.3 (test package): Generator cmake created conanbuildinfo.cmake
soci/4.0.3 (test package): Generator txt created conanbuildinfo.txt
soci/4.0.3 (test package): Aggregating env generators
soci/4.0.3 (test package): Generated conaninfo.txt
soci/4.0.3 (test package): Generated graphinfo
@Cogitri Cogitri added the bug Something isn't working label Jul 11, 2022
@Cogitri
Copy link
Contributor Author

Cogitri commented Jul 11, 2022

I've worked around this with this terrible patch for now:

diff --git a/cmake/SociBackend.cmake b/cmake/SociBackend.cmake
index b52f1de..7c8f21f 100644
--- a/cmake/SociBackend.cmake
+++ b/cmake/SociBackend.cmake
@@ -65,7 +65,7 @@ endmacro()
 #
 macro(soci_backend NAME)
   parse_arguments(THIS_BACKEND
-    "DEPENDS;DESCRIPTION;AUTHORS;MAINTAINERS;"
+    "DEPENDS;DESCRIPTION;AUTHORS;MAINTAINERS;TARGET_DEPENDS"
     ""
     ${ARGN})
 
@@ -161,7 +161,7 @@ macro(soci_backend NAME)
 
         target_link_libraries(${THIS_BACKEND_TARGET}
           ${SOCI_CORE_TARGET}
-          ${THIS_BACKEND_DEPENDS_LIBRARIES})
+          ${THIS_BACKEND_TARGET_DEPENDS})
 
         if(WIN32)
           set_target_properties(${THIS_BACKEND_TARGET}
@@ -198,7 +198,7 @@ macro(soci_backend NAME)
 
         # Still need to link the libraries for tests to work
         target_link_libraries (${THIS_BACKEND_TARGET_STATIC}
-          ${THIS_BACKEND_DEPENDS_LIBRARIES}
+          ${THIS_BACKEND_TARGET_DEPENDS}
         )
 
         set_target_properties(${THIS_BACKEND_TARGET_STATIC}
diff --git a/src/backends/mysql/CMakeLists.txt b/src/backends/mysql/CMakeLists.txt
index b2dcc9c..54814e8 100644
--- a/src/backends/mysql/CMakeLists.txt
+++ b/src/backends/mysql/CMakeLists.txt
@@ -12,4 +12,5 @@ soci_backend(MySQL
   DEPENDS MySQL
   DESCRIPTION "SOCI backend for MySQL"
   AUTHORS "Pawel Aleksander Fedorynski"
-  MAINTAINERS "Pawel Aleksander Fedorynski")
+  MAINTAINERS "Pawel Aleksander Fedorynski"
+  TARGET_DEPENDS MySQL::MySQL)
diff --git a/src/backends/odbc/CMakeLists.txt b/src/backends/odbc/CMakeLists.txt
index ce01953..bd01641 100644
--- a/src/backends/odbc/CMakeLists.txt
+++ b/src/backends/odbc/CMakeLists.txt
@@ -12,4 +12,5 @@ soci_backend(ODBC
   DEPENDS ODBC
   DESCRIPTION "SOCI backend for ODBC"
   AUTHORS "Maciej Sobczak, Stephen Hutton, David Courtney"
-  MAINTAINERS "Vadim Zeitlin, Mateusz Loskot, Maciej Sobczak")
+  MAINTAINERS "Vadim Zeitlin, Mateusz Loskot, Maciej Sobczak"
+  TARGET_DEPENDS objectbox::objectbox)
diff --git a/src/backends/postgresql/CMakeLists.txt b/src/backends/postgresql/CMakeLists.txt
index 44c27d3..ae5b185 100644
--- a/src/backends/postgresql/CMakeLists.txt
+++ b/src/backends/postgresql/CMakeLists.txt
@@ -27,6 +27,7 @@ soci_backend(PostgreSQL
   DEPENDS PostgreSQL
   DESCRIPTION "SOCI backend for PostgreSQL"
   AUTHORS "Maciej Sobczak, Stephen Hutton"
-  MAINTAINERS "Mateusz Loskot")
+  MAINTAINERS "Mateusz Loskot"
+  TARGET_DEPENDS PostgreSQL::PostgreSQL)
 
 boost_report_value(SOCI_POSTGRESQL_NOSINLGEROWMODE)
diff --git a/src/backends/sqlite3/CMakeLists.txt b/src/backends/sqlite3/CMakeLists.txt
index cd90b7a..14ab1c4 100644
--- a/src/backends/sqlite3/CMakeLists.txt
+++ b/src/backends/sqlite3/CMakeLists.txt
@@ -13,4 +13,5 @@ soci_backend(SQLite3
   DEPENDS SQLite3
   DESCRIPTION "SOCI backend for SQLite 3"
   AUTHORS "Maciej Sobczak, Stephen Hutton, David Courtney"
-  MAINTAINERS "Maciej Sobczak, Mateusz Loskot")
+  MAINTAINERS "Maciej Sobczak, Mateusz Loskot"
+  TARGET_DEPENDS SQLite::SQLite)

@back2now
Copy link

back2now commented Oct 24, 2022

@Cogitri
I have met the same issue with you. The root cause is, soci uses uppercase cmake variable like 'MYSQL_LIBRARIES' while FindMySQL.cmake provided by conan offers 'MySQL_LIBRARIES'. Since CMake variable is case sensitive, soci backend targets are actually not linked with 3rd libraries.

Here is my patch,

diff --git a/cmake/SociBackend.cmake b/cmake/SociBackend.cmake
index 5d4ef0d..1abd642 100644
--- a/cmake/SociBackend.cmake
+++ b/cmake/SociBackend.cmake
@@ -38,7 +38,7 @@ macro(soci_backend_deps_found NAME DEPS SUCCESS)
       if( ${DEPU}_INCLUDE_DIRS )
         list(APPEND DEPS_INCLUDE_DIRS ${${DEPU}_INCLUDE_DIRS})
       endif()
-      list(APPEND DEPS_LIBRARIES ${${DEPU}_LIBRARIES})
+      list(APPEND DEPS_LIBRARIES ${${dep}_LIBRARIES})
     endif()
   endforeach()

Cogitri added a commit to dampsoft/conan-center-index that referenced this issue Apr 26, 2023
soci searches for POSTGRESQL_LIBRARIES etc. instead of what conan
defines (PostgreSQL_LIBRARIES).

fixes conan-io#11628
conan-center-bot pushed a commit that referenced this issue Apr 30, 2023
* soci: fix linking against dependencies with conanv1

soci searches for POSTGRESQL_LIBRARIES etc. instead of what conan
defines (PostgreSQL_LIBRARIES).

fixes #11628

* soci: fix @rpath on MacOS
pezy pushed a commit to pezy/conan-center-index that referenced this issue Jun 1, 2023
* soci: fix linking against dependencies with conanv1

soci searches for POSTGRESQL_LIBRARIES etc. instead of what conan
defines (PostgreSQL_LIBRARIES).

fixes conan-io#11628

* soci: fix @rpath on MacOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants