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

Running GLM under macOS Sierra #119

Open
lawinslow opened this issue Aug 21, 2017 · 7 comments
Open

Running GLM under macOS Sierra #119

lawinslow opened this issue Aug 21, 2017 · 7 comments

Comments

@lawinslow
Copy link
Member

It seems restrictions have gotten tighter on macOS Sierra. Having trouble running GLM through GLMr on Sierra. Getting dyld: Library not loaded error messages.

I have tried altering Gatekeeper settings via instructions here. No luck yet. I think it might be an issue with our use of DYLD_FALLBACK_LIBRARY_PATH, but I am not 100% certain.

Has anyone run into this? Any luck on dealing with this issue?

@lawinslow
Copy link
Member Author

Update: I have gotten GLM from the website working by manually installing intel fortran redistributable and NCDF libraries manually and pointing at them using DYLD_LIBRARY_PATH. So it might be a library issue. GLMr may not have the right set of libraries included to run on sierra (older libraries or something).

@cayelan
Copy link

cayelan commented Oct 8, 2017

I've been able to reproduce the GLMr failure on about ~20 OS X machines, all Sierras or El Cap. The previous work-around by disabling SIP is no longer working- do you have any suggestions for how to get around this issue? I'm still able to run GLMr v.2.1.8 on my El Cap machine using R v.3.3 but not 3.4, if that's useful.

@cayelan
Copy link

cayelan commented Oct 10, 2017

Update: I can run GLMr v.3.1.14 on El Cap and Sierra OS X machines using R v.3.3.3 when SIP is disabled, but not using the newest R v.3.4.2. You can still install R v.3.3.3 from CRAN so it's fine, but I'm wondering what it is about R v.3.4.2 that isn't compatible with GLMr? (I've also tested GLMr v.3.1.10, 3.1.12, and 3.1.13 and none of those versions work either).

@lawinslow
Copy link
Member Author

Potentially dealing with this in #120. @cayelan can you confirm that PR #120 as-is fixes the issue you saw with R v3.4.2 and doesn't also happen to break R v3.3.3?

@cayelan
Copy link

cayelan commented Oct 12, 2017

I just tested @akrinos forked version of GLMr and can confirm that it works successfully on a Sierra machine using R v.3.4.2 with SIP enabled. I will test on a machine with R v.3.3.3 tomorrow and let you know.

@cayelan
Copy link

cayelan commented Oct 12, 2017

Update: I re-tested @akrinos forked version of GLMr after the 2 new commits in #120 and GLMr no longer runs on my Sierra machine with R v.3.4.2. The error message to run_glm() is "command not found".

@akrinos
Copy link

akrinos commented Oct 12, 2017

Problem with commit to #120 was clearly manipulating exec directory structure; most recent commit rolled back because *nix build issue was not resolved. Search for alternate workable SIP/DYLD solution ongoing.

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

No branches or pull requests

3 participants