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

Problem to install: OS X "-lgfortran" and "-lquadmath" errors #16

Closed
fabiennejh opened this issue Apr 6, 2018 · 4 comments
Closed

Problem to install: OS X "-lgfortran" and "-lquadmath" errors #16

fabiennejh opened this issue Apr 6, 2018 · 4 comments

Comments

@fabiennejh
Copy link

I have problem with the installation of the package. Here is the error message , do you have an idea of what failed ?

Thank you
Fabienne

githubinstall("bigstatsr")

ld: warning: directory not found for option '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2'
ld: library not found for -lquadmath
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bigstatsr.so] Error 1
ERROR: compilation failed for package ‘bigstatsr’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/bigstatsr’
    Installation failed: Command failed (1)
@privefl
Copy link
Owner

privefl commented Apr 6, 2018

Hello,

This is a known installation problem of package {RcppArmadillo} on Mac.
Please see this blog post.

@privefl privefl changed the title Problem to install Problem to install: OS X "-lgfortran" and "-lquadmath" errors Apr 6, 2018
@fabiennejh
Copy link
Author

thank you !
It works now !

@privefl
Copy link
Owner

privefl commented Jun 11, 2018

For Ubuntu users, also see https://askubuntu.com/a/736684.

@privefl privefl pinned this issue Dec 20, 2018
@privefl
Copy link
Owner

privefl commented May 20, 2019

Look also at https://github.com/fxcoudert/gfortran-for-macOS/releases (e.g. for Mac Mojave).

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

2 participants