Re: Can't link atlas or cblas libraries

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

 



On 09/02/2010 11:02 PM, Rick Stevens wrote:
> On 09/02/2010 06:25 AM, Jussi Lehtola wrote:
>    
>> 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
>>>        
>> You need to pass the linker option -L/usr/lib64/atlas so that the
>> linker finds the libraries.
>>      
> The OP should also check /etc/ld.so.conf.d and verify that there is
> an atlas-x86_64.conf file in there.  If not:
>
> 	# echo "/usr/lib64/atlas">/etc/ld.so.conf.d/atlas-x86_64.conf
>
> Then, as root, run "ldconfig -v".  This will remove the need to specify
> the "-L" option to the linker.
>    
Thank you for your answers! Passing the directory to the linker solves 
the problem (I thought I already tried it). However, the file   
/etc/ld.so.conf.d/atlas-x86_64.conf   exists and contains   
/usr/lib64/atlas   and after 'ldconfig' it is now listed but I still 
need to pass the directory to the linker.

- Henrik
-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux