LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2006, 04:36 PM   #1
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
Guitar Tuner


Hi, I was trying to install a guitar tuner for linux but when i'm compiling it using make i get the following error:

Code:
g++ range.o complex.o fft.o sound.o mywidget.o main.o mmywidget.o -o GuitarTuner -L/usr/lib/qt/lib -lqt -lm
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [GuitarTuner] Error 1
So he can't find lqt? Anyone knows what's the problem?
 
Old 05-04-2006, 05:09 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hi there,

you should have a link /usr/lib/qt pointing to /usr/lib/qt-<version>
can you check if that link exists ?

if not, make it.

egag
 
Old 05-04-2006, 05:15 PM   #3
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
yes i have that link so i really don't know why i get this error...
 
Old 05-04-2006, 05:21 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i have :

------------
/usr/lib/qt-3.3.6/lib/libqt-mt.so.3
/usr/lib/qt-3.3.6/lib/libqt-mt.prl
/usr/lib/qt-3.3.6/lib/libqt-mt.la
/usr/lib/qt-3.3.6/lib/libqt-mt.so
/usr/lib/qt-3.3.6/lib/libqt-mt.so.3.3.6
/usr/lib/qt-3.3.6/lib/libqt-mt.so.3.3
-------------
...so i guess you'll need "-lqt-mt" instead of "-lqt".
( that is, if your libs have the same name as mine...)

if so, edit the makefile and try again... :-)

egag
 
Old 05-04-2006, 05:29 PM   #5
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
yes that solved the problem!

Thanks for the fast reply!
 
Old 05-04-2006, 05:33 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
Linux _is_ fast.
( write a song about it... :-))

egag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
something for guitar players =P jogurt666 Linux - Software 14 09-23-2005 03:45 PM
Unidentified Guitar Crashed_Again General 7 07-06-2005 09:15 PM
kernel: tuner: tuner type not set gadhiraju Linux - Hardware 2 10-05-2004 12:17 PM
Guitar software? BajaNick Linux - Software 2 08-18-2003 01:57 PM
TV Tuner / AM&FM Tuner hardware N3WBI3 Linux - Hardware 2 08-01-2002 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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