-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
dyld[27309]: Library not loaded: @rpath/libtest-01ad18af57f4eecf.dylib
on MacOS (or with mold on Linux)
#962
Comments
OK. So I've found a helpful comment. And was able to fix it with:
I guess I can work-around it in our Nix dev shell. Maybe it will be helpful for someone else. |
This is unrelated to SIP, since there are no system binaries involved.
|
What does "system binary" mean here exactly? |
dyld[27309]: Library not loaded: @rpath/libtest-01ad18af57f4eecf.dylib
on MacOSdyld[27309]: Library not loaded: @rpath/libtest-01ad18af57f4eecf.dylib
on MacOS (or with mold)
Coincidentally, I think I've just reproduced this problem on Linux, when I attempted to use |
dyld[27309]: Library not loaded: @rpath/libtest-01ad18af57f4eecf.dylib
on MacOS (or with mold)dyld[27309]: Library not loaded: @rpath/libtest-01ad18af57f4eecf.dylib
on MacOS (or with mold on Linux)
OK. Closing as a dup of #267 |
Nvmd. The Linux problem was a missing mold wrapper for Nix. |
I just migrated our project to
nextest
, landed the PR, just to discover it is broken on MacOS (which we test only on master branch, because GH MacOS runner is soooo slow).After some looking I wonder: if the reason for it the
macOS System Integrity Protection sanitization
issue?If so - I don't understand why am I supposed to do with the extra env variables, or rather ... where exacty. I don't think I'm using any target runners.
Full output:
The text was updated successfully, but these errors were encountered: