Re: Can't link atlas or cblas libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 02 Sep 2010 09:55:58 +0300
Henrik Mannerström <henrik.mannerstrom@xxxxxxxxx> wrote:

> Hello,
> 
> On my Fedora 11, when I try to compile a program that uses BLAS the 
> linking fails:
>  > /usr/bin/ld: cannot find -lcblas
> 
> I have packages blas, blas-devel, atlas and atlas-devel installed.
> There exists a symlink for
> libcblas.so:   /usr/lib64/atlas/libcblas.so -> ./libcblas.so.3.0
> but 'ldconfig-p' does not find it, only the so.3-file:
> libcblas.so.3 (libc6,x86-64) => /usr/lib64/atlas/libcblas.so.3   .
> 
> What should I do to be able to compile programs with BLAS and LAPACK?
> Do I need to complete the installation of the devel-packages by hand?

You need to pass the linker option -L/usr/lib64/atlas so that the
linker finds the libraries.
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola@xxxxxxxxxxxxxxxxx
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux