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

Installation issue: OS X "-lgfortran" and "-lquadmath" errors #6

Closed
DrK-Lo opened this issue Nov 1, 2017 · 5 comments
Closed

Installation issue: OS X "-lgfortran" and "-lquadmath" errors #6

DrK-Lo opened this issue Nov 1, 2017 · 5 comments

Comments

@DrK-Lo
Copy link

DrK-Lo commented Nov 1, 2017

Hi Florian,
I've been using your bigsnpr package in a class I teach, and some of the students were having issues installing. One of the errors was this:

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 Nov 2, 2017

Hello Katie,

Are you sure they all have the command line tools installed on their Mac?
They just need to run xcode-select --install.

Also see this blog post.

@DrK-Lo
Copy link
Author

DrK-Lo commented Nov 3, 2017

Command line tools are installed, but from the post sounds like the problem is deeper. Thanks!

@privefl
Copy link
Owner

privefl commented Nov 3, 2017

If you manage to solve these installation problems, please report your solution(s) there.
It will help others, thanks.

@privefl privefl changed the title installation issue Installation issue: OS X "-lgfortran" and "-lquadmath" errors Apr 6, 2018
@privefl privefl closed this as completed Sep 13, 2018
@biojiangke
Copy link

I could confirm that following the directions in the aforementioned Blog post would solve this problem with MacOS Sierra.

@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

3 participants