macOS
You must have the current Xcode command line programs installed: run the command xcode-select --install
in the terminal. This terminal command must be executed repeatedly after each macOS update, otherwise errors may occur due to missing libraries or headers.
The dependent libraries will be compiled using https://binarybuilder.org [BinaryBuilder] and automatically loaded. This is the preferred way to build Julia source code. If you want to build them yourself, you will need a 64-bit version of gfortran to compile Julia dependencies.
brew install gcc
If you set LD_LIBRARY_PATH
or DYLD_LIBRARY_PATH
in the .bashrc
or similar file, Julia may not find some of its libraries. For Julia to work properly, these environment variables should not be set.