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

Not finding gfortran on mac #8

Closed
josephwb opened this issue Apr 25, 2014 · 4 comments
Closed

Not finding gfortran on mac #8

josephwb opened this issue Apr 25, 2014 · 4 comments

Comments

@josephwb
Copy link
Member

Yep, another mac issue. Make assumes gfortran lives in:

/usr/bin/gfortran

I installed it with homebrew, so it is actually here:

/usr/local/bin/gfortran
@josephwb
Copy link
Member Author

I was able to get it to work with:

export LIBRARY_PATH=/usr/local/Cellar/gfortran/4.8.2/gfortran/lib

@josephwb
Copy link
Member Author

Never mind, still no-worky.

@josephwb
Copy link
Member Author

josephwb commented May 1, 2014

Okay, got this to work, while sticking with homebrew installs. I replaced:

#FC = /usr/bin/gfortran
FC = /usr/local/bin/gfortran

in the Makefile (shouldn't autotools find this?). Second, added:

export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/Cellar/gfortran/4.8.2/gfortran/lib/

to my ~/.bashrc. Seems like homebrew is at fault here.

@josephwb
Copy link
Member Author

josephwb commented Jan 7, 2015

Think this has been fixed for a while.

@josephwb josephwb closed this as completed Jan 7, 2015
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