File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,23 @@ If you are using a conda environment, you can do this by running the following c
9494
9595 conda install -c conda-forge libgfortran-ng libgfortran5
9696
97+ Sometimes, this is an issue of the library path not being set correctly.
98+ To fix this, you can set the environment variables ``PATH `` and ``LD_LIBRARY_PATH `` to include the paths to the gfortran library.
99+ You can do this by running the following command:
100+
101+ .. code-block :: bash
102+
103+ export LD_LIBRARY_PATH=< PATH_TO_GFORTRAN_LIBRARY> :$LD_LIBRARY_PATH
104+ export PATH=< PATH_TO_GFORTRAN_BINARY> :$PATH
105+
106+ An example of this would be:
107+
108+ .. code-block :: bash
109+
110+ export LD_LIBRARY_PATH=$( brew --prefix gfortran) /lib:$LD_LIBRARY_PATH
111+ export PATH=$( brew --prefix gfortran) /bin:$PATH
112+
113+ Sometimes, ``lib64 `` is the correct directory instead of ``lib ``.
97114
98115General
99116=======
You can’t perform that action at this time.
0 commit comments