Re: Can't link atlas or cblas libraries

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


On 09/02/2010 06:25 AM, Jussi Lehtola wrote:
> On Thu, 02 Sep 2010 09:55:58 +0300
> Henrik Mannerström<[email protected]>  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
>>   /usr/lib64/atlas/ ->  ./
>> but 'ldconfig-p' does not find it, only the so.3-file:
>> (libc6,x86-64) =>  /usr/lib64/atlas/   .
>> 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.

The OP should also check /etc/ and verify that there is
an atlas-x86_64.conf file in there.  If not:

	# echo "/usr/lib64/atlas" >/etc/

Then, as root, run "ldconfig -v".  This will remove the need to specify
the "-L" option to the linker.
- Rick Stevens, Systems Engineer, C2 Hosting          [email protected] -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-    First Law of Work:                                              -
-    If you can't get it done in the first 24 hours, work nights.    -
users mailing list
[email protected]
To unsubscribe or change subscription options:

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

  Powered by Linux