LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2013, 06:03 AM   #1
chiendarret
Member
 
Registered: Mar 2007
Posts: 307

Rep: Reputation: 16
Linking lapack and C standard libraries with Debian amd64 wheezy


Hello
May I ask how to correctly link lapack and C standard libraries with Debian amd64 wheezy?

Packages installed: liblapack3gf liblapack3 libblas3 libc6 libc6-dev
**************

The code to compile makes a generic example:

LIBS="-llapack -lstdc++"

thanks

francesco pietra
 
Old 03-15-2013, 08:19 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
What errors are you getting?

Normally all you do is just add the library with the -l option. The library file name for lapack is liblapak.so

The -l adds the lib prefix and various suffixes like .so, .a, ... some with/without versions...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUDA 4.0-enabled compilation with Debian GNU/Linux amd64 wheezy chiendarret Linux - Software 1 03-12-2013 02:26 AM
[SOLVED] Debian wheezy(amd64): fail to configure tzdata -> everything got stuck. kaz2100 Debian 11 07-04-2012 06:26 PM
[SOLVED] Debian wheezy amd64: runPMV (mgltools) dies. kaz2100 Debian 1 12-16-2011 01:02 AM
Lapack linking issue mfitzpat Linux - Software 6 01-27-2010 01:41 PM
How to install 32 bit libraries under AMD64 debian? ssobeht Debian 0 02-11-2005 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration