LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-08-2005, 10:49 AM   #1
tuxandme
Member
 
Registered: Aug 2003
Posts: 33

Rep: Reputation: 15
/usr/bin/ld: cannot find -lqt, make xconfig


I try to compile a new kenrel, but when i do "make xconfig"
i get:
HOSTLD scripts/kconfig/qconf
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Fout 1
make: *** [xconfig] Fout 2

I just installed Mandrake 10.1 and qt-embedded-3.3.4

does someone know what to do?
 
Old 02-08-2005, 11:03 AM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 30
You need Qt (not embeded) installed and the QTDIR environment variable set, ie QTDIR=/opt/qt



Or you can simply run 'make menuconfig' instead, which will give you an ncurses based config menu.


HTH

Mad.

Last edited by madluther; 02-08-2005 at 11:06 AM.
 
Old 02-08-2005, 11:24 AM   #3
tuxandme
Member
 
Registered: Aug 2003
Posts: 33

Original Poster
Rep: Reputation: 15
thnx
But the other qt is qt x11 and mandrake 10.1 uses Xorg.
So when I tried to install qt I got:
kernel/qt_x11_p.h:66:22: X11/Xlib.h: No such file or directory
kernel/qt_x11_p.h:71:23: X11/Xutil.h: No such file or directory
kernel/qt_x11_p.h:72:21: X11/Xos.h: No such file or directory
kernel/qt_x11_p.h:73:23: X11/Xatom.h: No such file or directory
make[2]: *** [.obj/release-shared/qtaddons_x11.o] Fout 1
make[2]: Leaving directory `/usr/local/qt/src'
make[1]: *** [sub-src] Fout 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Fout 2

Last edited by tuxandme; 02-08-2005 at 12:17 PM.
 
Old 02-09-2005, 10:45 AM   #4
tuxandme
Member
 
Registered: Aug 2003
Posts: 33

Original Poster
Rep: Reputation: 15
solved it, by installing al Xorg packages
 
Old 06-19-2005, 09:41 AM   #5
erikc
LQ Newbie
 
Registered: Jun 2005
Location: Wisemans Ferry, Australia
Distribution: Mandrake 10.1
Posts: 2

Rep: Reputation: 0
hi tuxandme,

I had the same problem with Mandrake 10.1,
after much trawling the net for a while, discovered that qt has to be installed,
which it is and that a valid entry for the qtlib has to exist in the file
/etc/ld.so.conf
which it also did, in my case:
/usr/lib/qt3/lib
upon closer inspection of /usr/lib/qt3/lib I discovered:
libqt-mt.so linked to libqt-mt.so.3.2.3
libqt-mt.so.3 linked to libqt-mt.so.3.3.3
libqt-mt.so.3.3 linked to libqt-mt.so.3.3.3
libqt-mt.so.3.3.3 (the actual file)
took me a while to notice that libqt-mt.so was pointing to a non-existant file: libqt-mt.so.3.2.3

after making libqt-mt.so point to libqt-mt.so.3.3.3
make xconfig
worked perfectly
ciao ... erik
 
Old 06-19-2005, 01:04 PM   #6
erikc
LQ Newbie
 
Registered: Jun 2005
Location: Wisemans Ferry, Australia
Distribution: Mandrake 10.1
Posts: 2

Rep: Reputation: 0
oops, just realised Mandrake 10.1 didn't ship with libqt3-devel ...
libqt3-devel was still hanging around from Mandrake 10.0,
which explains the broken link for libqt-mt.so
 
  


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
make error: /usr/bin/ld: cannot find -lXext ryedunn Linux - Software 20 11-16-2011 03:28 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 10:42 PM
/usr/bin/ld: cannot find -lc aa2bi Linux - Newbie 2 06-09-2004 06:32 AM
when running make get: usr/bin/ld: cannot find -lart_lgpl_2 nigma Linux - Software 0 02-12-2004 09:22 PM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration