-
Notifications
You must be signed in to change notification settings - Fork 16
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
macglm library load issue (GLMr v3.1.10) #103
Comments
Interesting. Internet says the libraries are being found, but they "can't be used". Vague. @jread-usgs what OS X version are you on? We may need to figure out how to bundle libraries on OS X differently for v10.11. |
I am still on Yosemite, and won't upgrade for a bit now. I think some others are on El C in the office that we can test on. |
hmm, @hdugan, what OS X version you running these days? |
Tested it out with Colin yesterday. Mine's running fine on Yosemite. On Wed, Feb 3, 2016 at 8:33 PM, Luke Winslow [email protected]
|
Did anyone figure this issue out? I just upgraded to El Capitan (v.10.11.4) and had the same exact problem with GLMr libifcore.dylib libraries as @colin-a-smith did, with the same error messages in R (v.3.3.0). Any help would be super appreciated- thank you! |
We don't have a compiler for El Capitan, so I don't know if we can build GLM for that version of the OS. |
@jread-usgs argh, ok. @lawinslow I've only run GLM on my mac via R. It seems like this DYLD_LIBRARY_PATH problem is not specific to GLMr but also other applications on macs (Matlab, etc.), but there are no easy fixes. |
I am guessing it isn't a simple fix, but we'd love some help from others that might be willing to dig into it. |
Ok- I found a workaround to run GLMr in El Cap: if you disable SIP (System Integrity Protection), I had no problems with GLMr. See: oracle/node-oracledb#231. SIP prevents any of the DYLD_LIBRARY commands from working, explaining both my and @colin-a-smith's issues. I disabled SIP on two El Cap macs in my lab yesterday that previously weren't able to run GLMr and it worked successfully on both of them. |
Nice! 👍 @colin-a-smith does this fix work for you? Sounds like it should |
Yes, that fixed worked for me. Thanks @cayelan ! |
Great, I'm going to close this issue then. If there are future issues, go ahead and reopen this issue |
Hi all, It seems that the issue is not fully resolved. I get the exact same problem with the error: I have tried Cayelan's trick of disabling SIP on my El C. computer but I get the same response. I'm using the macglm 2.0.0. Any ideas/suggestions? Many thanks for any help you can provide. Yves |
@yvesprairie: could you give us a full record of the command you're trying to run, with the full error output? In addition, it would be great to have the output of the
|
Also good to know what OS version for mac is being used. Didn't apple release Sierra recently? |
Sorry for the delay in replying . First, and perhaps this is part of the problem, I am not using GLMr but macglm on OS 10.11.6 (El Capitan). to make sure the SIP is indeed disabled, I ran the following command in Terminal: When I try to run macglm directly I get the following response: MacBook-Pro-de-Yves-Prairie:~ yvesprairie$ /Users/yvesprairie/Downloads/macglm_2.0.0/macglm ; exit; [Process completed] I have done, prior to the above, all the steps described in https://github.com/AquaticEcoDynamics/GLM/README.Macintosh I suppose I could try to make my own build from the source code but that seems excessive. Mind you, Cheers and many thanks for any input, Yves |
My guess is that GLM can't find the linked libraries it needs. Is |
@lawinslow do you know if the only workable solution for this is to disable csrutil? Seems like a lot of users wouldn't want that turned off. |
We'd need to have the Mac GLM binary code signed. I'm not sure how much work it would take, but it would need to be done by the person building the mac build. So probably either you or casper. |
I'm attempting to use GLMr (v 3.1.10) on OS X El Capitan (v 10.11.1) and receive the following error when evaluating run_glm(...):
dyld: Library not loaded: libifcore.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/GLMr/exec/macglm
Reason: image not found
[1] 5
I've tried pointing 'DYLD_LIBRARY_PATH' and 'DYLD_FALLBACK_LIBRARY_PATH' to the .dylib files in */extbin/macGLM/bin/ via the terminal to no avail. Any help on this front is greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: