On Tue, 26 Dec 2000, Thomas M. Albright wrote:
[irrelevant portions removed]
> # cat /etc/ld.so.conf
> /usr/lib
> /usr/lib/qt-1.44/lib
> /usr/lib/qt-2.2.1/lib
>
> # rpm -qa | grep qt
> qt-static-2.2.1-1.6x
> qt1x-1.44-4
> qt2-2.1.0-6mdk
> qt-2.2.1-1.6x
>
> # ldd $(which kdm)
> libqt.so.2 => /usr/lib/libqt.so.2 (0x40311000)
Okay, kdm is being linked against Qt libraries in /usr/lib.
However, the current favored method to handle multiple versions of Qt at
once (on RPM-based systems, anyway) is to place them in /usr/lib/qt-$VERSION/
branches, and put nothing into /usr/lib/. Yet you have one in that location.
I suspect it is that Mandrake RPM (qt2-2.1.0-6mdk). You might start by
removing that. (If you have something that needs Qt 2.1.0, you can get
"proper" RPMs from http://rpmfind.net).
If KDE still doesn't work, double-check the version of Qt that the KDE
packages you have were compiled against. For example, if they require 2.2.2,
then 2.2.<anything_else> is probably not going to work. If that is the case,
install (not "upgrade to"!) the right version of the Qt libraries.
If KDE *still* doesn't work, it may be the dynamic linker is making the
wrong decision as to which version of the Qt libraries to link KDE against.
You can override the dynamic linker's default library path in that case.
First, enter runlevel 3 (i.e., X11 is not running) and get a command prompt.
Then type "export LD_LIBRARY_PATH=/usr/lib/qt-$VERSION/lib", where "$VERSION"
is the version of Qt that KDE needs. Then run "kde" and see what happens.
If that works, then the easiest thing to do is likely to move
"/usr/bin/startkde" to something like "/usr/bin/startkde_real", and write a
short shell script called "/usr/bin/startkde" and put these commands in it:
#!/bin/sh
# replace $VERSION with the proper version number for Qt
export LD_LIBRARY_PATH=/usr/lib/qt-$VERSION/lib
startkde_real "$@"
--
Ben Scott <[EMAIL PROTECTED]>
Net Technologies, Inc. <http://www.ntisys.com>
Voice: (800)905-3049 x18 Fax: (978)499-7839
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************