Getting QT To Work In Make Xconfig

John Wendel john.wendel at metnet.navy.mil
Wed Jan 11 23:23:38 UTC 2006


Robert L Cochran wrote:
> When I try to run 'make xconfig' I get this:
> 
> [rlc at bobcp4 linux-2.6.14]$ make xconfig
>  HOSTLD  scripts/kconfig/qconf
> /usr/bin/ld: cannot find -lqt
> collect2: ld returned 1 exit status
> make[1]: *** [scripts/kconfig/qconf] Error 1
> make: *** [xconfig] Error 2
> 
> Changing my path to
> 
> PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/rlc/bin:/usr/lib64/qt-3.3:/usr/lib64/qt-3.3/lib 
> 
> 
> Doesn't seem to help. QTDIR is set:
> 
> QTDIR=/usr/lib64/qt-3.3
> 
> Here is what I have installed for QT:
> 
> [rlc at bobcp4 linux-2.6.14]$ rpm -qa | egrep 'qt'
> qt-devel-3.3.4-15.4
> qt-3.3.4-15.4
> 
> am I missing another package that needs installing?
> 
> Bob
> 
> 
> 

"ld" doesn't use $PATH to locate libraries.

You might try "export 
LD_LIBRARY_PATH=/usr/lib64/qt-3.3/lib:$LD_LIBRARY_PATH"

I haven't tried this myself.

Regards,

John




More information about the fedora-list mailing list