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

CMake installation issues with soci as a dependency #1094

Open
jonasbhjulstad opened this issue Oct 17, 2023 · 2 comments
Open

CMake installation issues with soci as a dependency #1094

jonasbhjulstad opened this issue Oct 17, 2023 · 2 comments
Labels

Comments

@jonasbhjulstad
Copy link

I get the following error when trying to install my library (SBM_Database)

CMake Error at _deps/soci-build/src/backends/empty/cmake_install.cmake:61 (file):
  file INSTALL cannot find
  "/home/man/Documents/SBM_Database/build/lib/libsoci_empty.so.4.1.0": No
  such file or directory.
Call Stack (most recent call first):
  _deps/soci-build/src/backends/cmake_install.cmake:47 (include)
  _deps/soci-build/src/cmake_install.cmake:52 (include)
  _deps/soci-build/cmake_install.cmake:51 (include)
  cmake_install.cmake:52 (include)

Soci was fetched using the following:

CPMFindPackage(
    NAME Soci
    GITHUB_REPOSITORY SOCI/soci
    GIT_TAG master
    OPTIONS
    "WITH_POSTGRESQL ON"
)
@Spixmaster
Copy link
Contributor

That same issue needs to be circumventend in the package for Arch Linux. Take a look at it.

@vadz vadz added the CMake label Oct 17, 2023
@vadz
Copy link
Member

vadz commented Oct 17, 2023

Sorry, no idea what's going on here and no time to debug it right now but if anybody has a fix, it would be welcome, of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants