--- src/cpp/CMakeLists.txt.orig 2022-12-03 07:38:59 UTC +++ src/cpp/CMakeLists.txt @@ -468,9 +468,9 @@ endif() # find SOCI libraries if(UNIX) if(NOT APPLE AND RSTUDIO_USE_SYSTEM_SOCI) - find_library(SOCI_CORE_LIB NAMES "libsoci_core.a" "soci_core") - find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.a" "soci_sqlite3") - find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.a" "soci_postgresql") + find_library(SOCI_CORE_LIB NAMES "libsoci_core.so" "soci_core") + find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.so" "soci_sqlite3") + find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.so" "soci_postgresql") if(NOT SOCI_CORE_LIB OR NOT SOCI_SQLITE_LIB OR NOT SOCI_POSTGRESQL_LIB) message(FATAL_ERROR "Some or all SOCI libraries were not found. Ensure the SOCI dependency is installed and try again.") endif()