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

Installation fails on MacOS X #139

Open
ajaust opened this issue Mar 29, 2022 · 1 comment
Open

Installation fails on MacOS X #139

ajaust opened this issue Mar 29, 2022 · 1 comment

Comments

@ajaust
Copy link
Collaborator

ajaust commented Mar 29, 2022

When installing preCICE from source on MacOS X, installation of the Python bindings fails. Installation was conducted using pip.

I observed two different problems:

  1. The preCICE headers could not be found. This could normally be solved by setting CPATH to preCICE's include/ directory.
  2. clang failed to link the bindings against preCICE as it does not find lprecice. I was not able to fix it. Even setting DYLD_LIBRARY_PATH to the lib/ directory of preCICE did not fix this issue.

I started to reproduce the issue in a workflow, see #138, for a system installation into /usr.

@ajaust
Copy link
Collaborator Author

ajaust commented Mar 30, 2022

Just as an addition: It seems that the compilation and installation could be fixed easily by using pkg-config (see #135). It is still unclear how to make the installed preCICE library findable/known to MacOS X such that it is available when import precice is called.

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

No branches or pull requests

1 participant