LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   KDE 3.5.2 cannot load ksmserver.la, libXau.so.6 (https://www.linuxquestions.org/questions/slackware-14/kde-3-5-2-cannot-load-ksmserver-la-libxau-so-6-a-436620/)

Z038 04-19-2006 12:06 AM

KDE 3.5.2 cannot load ksmserver.la, libXau.so.6
 
I tried to upgarde KDE 3.4 to KDE 3.5.2 on a Slackware 10.2 system with 2.6.13 kernel, but I've run into difficulties. KDE won't start anymore.

I get these errors when I enter the startx command:

Code:

Could not open library ksmserver.la: libXau.so.6: cannot open shared object file: No such file or directory
ksmserver: error while loading shared libraries: libXau.so.6: cannot open shared object file: No such file or directory

I have libXau-0.99.1-x86_64-1pcx.tgz installed. However, it installs libXau.so.6 in /usr/lib64/ directory. I copied all the libXau* files to /usr/X11R6/lib/ but I get the same error.

Any idea how I can resolve this?

Alien_Hominid 04-19-2006 12:34 AM

Why do you use x86_64 package? You should have xorg 6.9 installed because this KDE is compiled against it.

Z038 04-19-2006 08:44 AM

That's the one that's in Slackware Current. When I downloaded it and tried to install it using upgradepkg --install-new libXau* the package command told me that it was already installed, and it skipped the installation. So it was already there on my system, I didn't actually install it.

My Xorg X11R6 is 6.8. If 6.9 is required for KDE 3.5, then I must have overlooked that pre-requisite. I'll upgrade to 6.9 later tonight and see if that helps.

Alien_Hominid 04-19-2006 08:49 AM

There is no libXau as a separate package in Slackware current. Look here: ftp://ftp.slackware.com/pub/slackwar...t/PACKAGES.TXT
And you shouldn't use 64 bit package for 32 bit machine, because it won't work.

Z038 04-19-2006 10:37 PM

I have an AMD64 +3200 CPU, so it is a 64 bit machine. But that's not the issue.

I guess I don't know where I got libXau from after all. Maybe an old distribution of slackware. It is definitely a slackware package. Anyway, I've removed it. If it isn't supposed to be required for X, then I need to figure out why X is looking for it.

So I still have a problem and I'd like to solve it, but I may just be in too deep. I just tried to upgrade all of the Xorg packages to 6.9.0, but I'm not sure it worked. Xorg 6.8 create a log file in /var/log/Xorg.0.log, but 6.9 doesn't seem to do that. The log file doesn't appear to get updated when I startx now. And I still get an error message:
Quote:

xauth: error while loading shared libraries: libXau.so.6: cannot open shared object file: No such file or directory

Alien_Hominid 04-19-2006 10:41 PM

Did you run ldconfig afer upgrading X server? Check Xorg.0.log permissions.

Z038 04-19-2006 11:26 PM

Ok, Alien_Hominid, I got it working. The log is being created now too...
Quote:

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
I had removed the libXau package before upgrading Xorg to 6.9.0, but I had also previously copied the libXau modules from their install location to /usr/X11R6/lib/. When I upgraded to 6.9.0, I got some error messages referencing the libXau modules, but I ignored them. That was a bad idea, I guess. startx still failed, apparently before it got to the point of opening the log file.

Just now, I deleted the libXau modules that I had copied to /usr/X11R6/lib, then I removed the Xorg 6.9.0 packages to make sure everything was clean. Then I installed Xorg 6.9.0 again and tried to startx. This time, no errors, and KDE 3.5.2 came right on up. I'm using it now.

This has been a good learning experience. Thank you for your help.

Alien_Hominid 04-20-2006 08:10 AM

Always glad to help.


All times are GMT -5. The time now is 05:03 AM.