Hi, 
thanks for your suggestions, somehow I was fixed on fixing the missing 
gfortran. I did as you said, add added to Make.user:

USE_SYSTEM_BLAS=1
LIBBLAS=-lopenblas
LIBBLASNAME=libopenblas

make now produces:

precompile.jl
LoadError("sysimg.jl",234,LoadError("precompile.jl",11,ErrorException("error 
compiling _start: error compiling check_blas: error compiling blas_vendor: 
could not load module libopenblas: libopenblas: cannot open shared object 
file: No such file or directory")))
make[1]: *** [/data_yipyip2/fortmeier/julia/usr/lib/julia/sys0.bc] Error 1
make: *** [release] Error 2

Previously, I have installed these packages:
# apt-cache search openblas
libopenblas-base - Optimized BLAS (linear algebra) library based on 
GotoBLAS2
libopenblas-dev - Optimized BLAS (linear algebra) library based on GotoBLAS2

searching for the lib gave these results
$ find /usr/lib/ -name "libopenblas*"
/usr/lib/openblas-base/libopenblas.so
/usr/lib/openblas-base/libopenblas.so.0
/usr/lib/openblas-base/libopenblas.a

Maybe someone can help?

Am Mittwoch, 29. Januar 2014 16:37:48 UTC+1 schrieb Rajn:
>
> Hi,
> On the Github (or perhaps on the download?) page of Julia there are 
> instructions as to what you should do when 'make' fails. There is a 
> procedure for BLAS failure mentioned there.
> You have to make a new file if it already does not exist called Make.user 
> and then type in those commands. Then do a 'make clean' or 'make cleanall' 
> and then try 'make' again.
> Maybe you already tried it?
>
>
>
> On Wednesday, January 29, 2014 4:36:45 AM UTC-5, Dirk Fortmeier wrote:
>>
>> Hi,
>>
>> A few days ago I installed julialang on my laptop (Ubuntu 12.04). Now, I 
>> want to install it on my desktop machine (Ubuntu 12.04 as well), but while 
>> running make this error appears:
>>
>> $ make
>> ...
>> ...
>>
>> /usr/bin/ld: cannot find -lgfortran
>> collect2: 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
>>
>>
>>
>> fortran is installed on this machine:
>>
>> # apt-get install libgfortran3 gfortran
>> Reading package lists... Done
>> Building dependency tree       
>> Reading state information... Done
>> gfortran is already the newest version.
>> libgfortran3 is already the newest version.
>> The following packages were automatically installed and are no longer 
>> required:
>>   patchutils dpatch
>> Use 'apt-get autoremove' to remove them.
>> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
>>
>> Any ideas?
>>
>> Kind regards,
>>
>> Dirk
>>
>

Reply via email to