What version of Linux is the VM running?

On Wed, Mar 2, 2016 at 12:06 PM, Chris <[email protected]> wrote:

> Im trying to install julia on amazon linux instance.
>
> i ran:
>
> sudo yum -y install clang m4 patch ncurses-devel python-devel
> git clone https://github.com/JuliaLang/julia.git
> cd julia
> git checkout v0.4.3
> make
>
> that failed on fortran
> so i ran:
>
> sudo yum -y install gcc-gfortran
>
> then ran 'make'
> but get this error
>
> /usr/bin/ld: /usr/lib/gcc/x86_64-amazon-linux/4.8.3/libgfortran.a(stop.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making
> a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-amazon-linux/4.8.3/libgfortran.a: could not read
> symbols: Bad value
> collect2: error: ld returned 1 exit status
> make[2]: *** [libopenspecfun.so] Error 1
> make[1]: *** [openspecfun/libopenspecfun.so] Error 2
> make: *** [julia-deps] Error 2
>
> it seems to be something to do with fortran, but i cannot understand what
> i need to do?
> I also tried make -fPIC, but PIC is not a target.
>
>

Reply via email to