Groups 222 of 99+ julia-users › build and install Julia in Mac OSX 10.8 7 posts by 4 authors Abhishek Sen 3/2/14 Hi all, I am having following issues while installing Julia in MacOSX. I am not sure how to parse the error message. It will be awesome if someone could help me out on this. I couldn't find a similar discussion in the archive. If you are aware of such topic, please provide a link. Undefined symbols for architecture x86_64: "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[4]: *** [libopenblasp-r0.2.8.dylib] 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.dylib] Error 1 make[1]: *** [julia-release] Error 2 make: *** [release] Error 2 Regards, Abhishek Jameson 3/2/14 I suspect that something is wrong with your fortran compiler. - show quoted text - 0 0 Felix 3/2/14 Had a similar problem building julia the first time but re tried and it work, so re-try it. 0 0 Abhishek Sen 3/2/14 Unfortunately, it still doesn't work :( On Sunday, 2 March 2014 15:09:41 UTC-6, Felix wrote: Had a similar problem building julia the first time but re tried and it work, so re-try it. 0 0 David P. Sanders 3/3/14 El domingo, 2 de marzo de 2014 16:04:43 UTC-6, Abhishek Sen escribió: Unfortunately, it still doesn't work :( I had a possibly similar problem recently. My "solution" was to update homebrew and reinstall gfortran. If you are doing a parallel build, you may also want to try with different numbers of processes, and keep insisting, or even try a serial build. If none of this works, I was asked to do make > make.out 2> make.out and post the output "make.out" as a gist so that people can look at it and try and work out what's going on... On Sunday, 2 March 2014 15:09:41 UTC-6, Felix wrote: Had a similar problem building julia the first time but re tried and it work, so re-try it. 0 0 Felix 3/3/14 Try make -C deps cleanall then make cleanall and make 0 0 Abhishek Sen 3/3/14 This issue has been solved. Problem was the fortran compiler. I was using homebrew to install it and ended up having an older version. - show quoted text - 0 0