How to properly make a dynamic library visible in a Mac OS runner #59647
Unanswered
timofeymukha
asked this question in
Actions
Replies: 1 comment
-
We have the same question :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Dear all, I have a workflow, where one step builds a dynamic library, which should then be picked up and used in another step. I test with both Linux and Mac OS 12 runners. On Linux, there is no issue, I just update
LD_LIBRARY PATH
in the step that installs the library.But for Mac OS this is not working. I've tried adding a similar statement for
DYLD_LIBRARY_PATH
, but it won't work either. I stumbled upon this issue while searching for an answer, which may be relevant. Finally, I also tried settingDYLD_LIBRARY_PATH
directly in the step that uses the library, likebut it still does not work.
So, my question is, how should I properly handle this for Mac?
For reference, this is the workflow file. The relevant task is GNU, with step "Install json-fortran" installing the library, and step "Check" later using it.
Beta Was this translation helpful? Give feedback.
All reactions