LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-08-2016, 12:44 PM   #1
ppersson
LQ Newbie
 
Registered: Jan 2016
Location: Norway
Distribution: ubuntu
Posts: 3

Rep: Reputation: Disabled
How can I come around the errormessage: undefine reference to `LAPACKE_dlange'


Hi!

I try to install a program in Ubuntu. When I give the make-command I get 4 errors:

undefine reference to `LAPACKE_dlange'
undefine reference to `LAPACKE_dgeqrf'
undefine reference to `LAPACKE_ddorgqr'
undefine reference to `LAPACKE_desved'

I have tried to install everything called "lapacke" that I can find.
the command:
locate lapacke
give a high number of hits (hundreds)!
but the command:
locate lapacke_b
gives non - zero!

so how to get these lapacke_b... in place???

Greetings from Norway!
 
Old 01-08-2016, 02:25 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Hi there, welcome to the forum
The message refers to a piece of source the package cannot find. Perhaps the dev packages were not installed?
Melissa
 
Old 01-09-2016, 02:01 AM   #3
ppersson
LQ Newbie
 
Registered: Jan 2016
Location: Norway
Distribution: ubuntu
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi!

I have tried to install everything I have found that is called "lapacke". Hundreds of files are installed, but not the mentioned four. All install I try now only gives "latest version already installed", That is with the exception of at least those packages found on http://www.netlib.org/lapack/
I cant't find out how to install the package from there. In their forum there are question about how to install, but no answer, as:
http://icl.cs.utk.edu/lapack-forum/v...php?f=4&t=4704

Per
 
Old 01-09-2016, 02:27 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
what program are you trying to install? you just say "a program".

what distro are you using?

where did you get the files to compile from?
what does the README and the INSTALL say?

don't you have to ./configure before make?

after all that is solved, what is the complete output of the failed make?
 
Old 01-11-2016, 02:04 AM   #5
ppersson
LQ Newbie
 
Registered: Jan 2016
Location: Norway
Distribution: ubuntu
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi and many thanks for the response!

I have continue to work with the problematic program and after quit a lot of work found out that there were no need for installation. The programs come in two folders one is called bin and the other src. The bin-folders already contained working programs while the src folder have the same programs in c-code in case one want to modify (recompile) the program. The program in the bin folder seems to work as far as I have tried them, it is only the only thing that don't work are the installation of the c-code files, and I don't think I need them.

In the readme file it says that the program requires GSL + lapack + OpenBLAS. I have installed these three.

The program is called EIGENSTAT and a very special DNA sequence analytical program. Not at all user-frendly.
I use
ubuntu 15.10
Intel Core i7-2760QM CPU @ 2.40GHz 8

Anyhow it could be useful if someone can help me to find the missing lapack-dependencies. As I said I have installed all lapack that I could find.

According to the readme file the recompile does not need ./configure. I have no opinion on that, it seems nearly work anyhow, except for the missing lapack files.

Greetings from Norway!

Per
 
Old 01-11-2016, 02:11 AM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
What distro are you using? The latest Ubuntu? I just checked, lapack is in my repo (I use Manjaro) so chaches are that it's already compiled for your distro, ready for use...
Melissa
Edit - unless...this is your oportunity to learn how to compile from source, o course...

Last edited by ButterflyMelissa; 01-11-2016 at 02:49 AM.
 
Old 01-12-2016, 12:56 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ppersson View Post
undefine reference to `LAPACKE_dlange'
undefine reference to `LAPACKE_dgeqrf'
undefine reference to `LAPACKE_ddorgqr'
undefine reference to `LAPACKE_desved'
these most probably aren't package names, but the name "LAPACK" gives a hint as to what you have to look for.

if you're on a debian-based distro, you might need to install developer packages, too, for manual compilation.
so, for each lapack* package, there should be a lapack*-dev package.

also, some devs package their sources with some shell script to install, so if there's no ./configure, it doesn't always mean you can go straight to make.

one thing i did not understand:
does the precompiled version work or not?
 
  


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
Virtual box undefine error coolpraz Linux - Virtualization and Cloud 8 09-19-2011 04:03 PM
[SOLVED] Latex, Hyperlink to a reference and from reference to where it is used roy1360 Linux - Software 2 03-21-2011 01:37 PM
ErrorMessage "Java virtual machine could be found from your PATH .. What do i Do ? murbz Linux - Software 18 11-09-2004 05:30 AM

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

All times are GMT -5. The time now is 06:05 PM.

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