[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling from Source on Mint and adding ATLAS
From: |
Stephen Montgomery-Smith |
Subject: |
Re: Compiling from Source on Mint and adding ATLAS |
Date: |
Fri, 28 Dec 2012 11:45:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/28/2012 07:22 AM, lascott wrote:
> I was able to follow along and have Octave running from source on Mint 13
> (Maya).
> The default install is 3.2, and I went to GNU Octave, version 3.6.3
> (I download and read the README to figure out the dependencies.)
> Got greedy and wanted to add ATLAS. Thankfully there are instructions:
>
>
> http://mhelm8191.blogspot.co.uk/2010/01/compiling-atlas-for-gnu-octave-on.html
>
> liblapack.a was created following the above steps.
> Created in:
> /media/dtb/home/las/code/lapack-3.4.2/
> Copied to:
> /usr/local/lib
> My system is x64, I also have a lib32 for those empty at the moment.
>
> Following the recipe in compiling atlas for octave:
> Neruda tmp # gcc -fPIC -lgfortran -shared *.o -Wl,-soname,liblapack.so.3 -o
> liblapack.so.3
>
> */usr/bin/ld: cannot find -lgfortran
> collect2: error: ld returned 1 exit status*
Figure out where libgfortran.* is stored. Then use the -L option to gcc
to tell it where to find it.
(If the resulting executable doesn't work, there is also -Wl,-rpath=...,
but let's not go there unless it turns out to be necessary.)