openSUSE 11.0, KDE3 and lib64/

5 Jul 2008

After installing openSUSE 11.0 on my HP Compaq 6715b notebook, of course, I wanted to be able to use my bluetooth mouse. I setup the installation with KDE4 and without KDE3 support. Logging in via KDM and using KDE4 wasn’t a problem, but the KDE4 version of the bluetooth integration and configuration tools are not quite ready yet. It would appear that Novell hasn’t included it in their release. Not to worry, the KDE3 tools can still be used successfully to configure bluetooth devices and/or connections.

But, kinputwizard wouldn’t run. I would get:

# kinputwizard
kinputwizard: error while loading shared libraries: libkbluetooth.so.0: cannot open shared object file: No such file or directory

So, I thought I’d try it under KDE3. After installing KDE3 support that I had omitted from the original installation selection, I tried to log in with KDE3. No go. It wouldn’t run KDE3. Needless to say, this could be frustrating, but I thought of it as another clue.

I found the “missing” library in the kdebluetooth RPM:

# rpm -ql kdebluetooth | grep libkbluetooth.so
/opt/kde3/lib64/libkbluetooth.so.0
/opt/kde3/lib64/libkbluetooth.so.0.0.0

So I took a look at the /etc/ld.so.conf file:

/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/lib/Xaw3d
/usr/i386-suse-linux/lib
/usr/local/lib
/opt/kde3/lib
include /etc/ld.so.conf.d/*.conf

Ah, the /opt/kde3/lib64/ directory is missing from the list, so I added it and ran ldconfig (as root, of course). I then tried to run kinputwizard again and it works. I haven’t tried logging in under KDE3 (I’m in KDE4 as I write this), but I’m sure it’ll be much happier, now. Still, I’m going to remove as much of KDE3 from the system as I can.