so, it does not take LD_LIBRARY_CONFIG?
On Fri, Sep 18, 2009 at 9:47 AM, Dominique Orban
<dom...@gm...> wrote:
> On Thu, Sep 17, 2009 at 10:16 PM, Mag Gam<mag...@gm...> wrote:
>> I am trying to compile Pysparse 1.1 and I can't seem to find llapack.
>>
>> I keep getting ld: cannot find -llapack
>> collect2: ld returned 1 exist status
>>
>> I did compile LAPACK and placed it into my /usr/local/lib as liblapack.a
>>
>> and did a export LD_LIBRARY_PATH=/usr/local/lib
>>
>> I still get this error, any ideas?
>
> The best way to make sure your libraries are discovered is to edit
> setup.py and change the two following lines (towards the top of the
> file):
>
> library_dirs_list= ['/usr/local/lib']
> libraries_list = ['lapack', 'blas', 'g2c']
>
> You may not need libg2c any more if you are using a recent gfortran.
>
> --
> Dominique
>
|