-
Notifications
You must be signed in to change notification settings - Fork 61
How to install a shared C library? #1035
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
Comments
The destination you are pointing to is outside the Note that as indicated in the log, the RPATHs are stripped so depending on how you want to handle it, you might want to install somewhere in your package path or otherwise you would not have a predictable path to construct your |
If you want it to go to lib, you can install to https://scikit-build-core.readthedocs.io/en/latest/guide/cmakelists.html |
Thank you very much for the explanation! |
It seems that
scikit-build-core
definesCMAKE_INSTALL_PREFIX
tosite-packages
, that is, everything is assumed to by either Python files or Python C extensions.However, I need to install a C library, and I cannot do it somehow, although it should go to
/lib/
directly, not to/lib/pythonX.Y/site-packages
,where initial
/
is the root of a virtual environment.I am trying to install the library this way:
and the library is just not getting installed at all, with the following lines during
pip install -v
:So, I cannot find it anywhere in the virtual environment.
Question how to write the
install
command, so thatscikit-build-core
installs the actual library? Thank you!The text was updated successfully, but these errors were encountered: