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

Crash on MacOS with homebrew imagemagick due to OpenMP #228

Closed
jeroen opened this issue Jan 20, 2020 · 0 comments
Closed

Crash on MacOS with homebrew imagemagick due to OpenMP #228

jeroen opened this issue Jan 20, 2020 · 0 comments

Comments

@jeroen
Copy link
Member

jeroen commented Jan 20, 2020

Same as #170. The workaround doesn't seem to work anymore.

Problem

The homebrew version of imagemagick has been compiled against OpenMP. However R for MacOS bundles a conflicting version of OpenMP for their custom toolchain.

Same problem appears with all other C/C++ libraries that use OpenMP.

Workaround:

To build from source on MacOS use brew install imagemagick@6 which does not use openmp. Or use the magick binary packages from CRAN which are also safe.

Solution

CRAN should stop shipping a conflicting libomp.dylib but they probably won't do that.

@jeroen jeroen closed this as completed in f9d5eb9 Jan 20, 2020
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