[problem when installation] cannot find -lgfortran #6150
Closed
Description
I have problem during the installation of Julia in CentOS 6.5. My make
command is
make USE_SYSTEM_LLVM=1
and the output is
END OF TESTS
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make[4]: *** [../libopenblasp-r0.2.8.so] Error 1
make[3]: *** [shared] Error 2
*** Clean the OpenBLAS build with 'make -C deps clean-openblas'. Rebuild with 'make OPENBLAS_USE_THREAD=0 if OpenBLAS had trouble linking libpthread.so, and with 'make OPENBLAS_TARGET_ARCH=NEHALEM' if there were errors building SandyBridge support. Both these options can also be used simultaneously. ***
make[2]: *** [openblas-v0.2.8/libopenblas.so] Error 1
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2
make -C deps getall
is also used but the problem is still the same.
I have found one old solution but it needs to downgrade the gcc. Is it necessary? Are there any way to solve the problem? There is one more solution but the symbol link already exists in my computer.
One more thing is that I don't have root privilege so installing new software is not easy for me.
Metadata
Assignees
Labels
No labels