LinuxQuestions.org
Review your favorite Linux distribution.
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 02-06-2012, 08:27 AM   #1
TIS-Well
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled
Problem compiling it++ source codes


Hi All, i have a problem compiling my it++ source codes on my Ubuntu version 11.10. the administrator has installed liblapack and i also confirmed it, but what i do not know is if it has been linked with the it++ library.

the error obtained when i tried to compile it++ source code is :

TIS-Well@1096:~/Maxdmin-c++$ g++ `itpp-config --cflags` -o chaine_Max_dmin chaine_Max_dmin.cpp `itpp-config --libs`
chaine_Max_dmin.cpp: In function ‘int main(int, char**)’:
chaine_Max_dmin.cpp:20:9: warning: unused variable ‘S_norm’ [-Wunused-variable]

When i tried the octave source code i have this error:

error: liblapack.so.3: cannot open shared object file: No such file or directory
error: called from:
error: /home/Dept/TIS-Well/test/biterr.m at line 133, column 5
error: /home/SIC/ooyedapo/test/maxdmin_symbole_bruit_impulse_Nr_4.m at line 129, column 15

Can anyone tell me what to do? i have spent more than a week on this problem.
 
Old 02-06-2012, 09:45 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be your octave application was compiled on another OS
with liblapack.so.3 ?

The Ubuntu package name is 'liblapack3gf'
http://packages.ubuntu.com/oneiric/liblapack3gf
Provides /usr/lib/lapack/liblapack.so.3gf
http://packages.ubuntu.com/oneiric/a...ck3gf/filelist

If the libraries liblapack.so.3, liblapack.so.3gf are compatible
with each other, a symlink may do the trick :

cd /usr/lib/ && sudo ln -s lapack/liblapack.so.3gf.0 liblapack.so.3

.
 
  


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
Compiling codes using PR_RING newbie14 Programming 0 11-09-2011 08:34 AM
Problem facing in building rpm package from source codes Arighna Programming 3 08-19-2011 12:50 PM
Linker problem while compiling D-Link router source codes. sulacco Linux - Software 2 05-19-2009 05:56 AM
where is the source codes for the open source drivers for each linux distros centguy Linux - Software 9 01-02-2009 11:14 AM
compiling and source codes on slackware. gforum Slackware 30 10-11-2008 02:47 PM

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

All times are GMT -5. The time now is 04:20 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