You are not logged in.

#1 2009-10-23 16:24:26

arjay
Member
Registered: 2009-10-04
Posts: 21

SOLVED Spanish keyboard stopped loading after update, upgrade

I am trying archlinux. The newest stable version with updates, and kde 4.3.2.  Brilliant it is.  However, after a few weeks of perfect use today I booted up and found, I think, US keyboard instead of Spanish one.  Apart from a standard update and upgrade, I do not think I have changed anything.

I tried system settings and chose regional and language/keyboard layout.  It gives me an error message only.  Cannot cut and paste but it sayd something like> Cannot load /usr/lib/kde4/kcm_keyboard_layout.so (libxklavier.so.12. Cannot open shared object file. No such file or directory) Cannot load library.

I check for first file and it shows it is there>

[root@antec etc]# find / -name kcm_keyboard*
/usr/lib/kde4/kcm_keyboard.so
/usr/lib/kde4/kcm_keyboard_layout.so
/usr/share/kde4/services/kcm_keyboard.desktop

So is second file but see it is number 15 not number 12 as said in error message above>

[root@antec etc]# find / -name libxklav*
/usr/lib/pkgconfig/libxklavier.pc
/usr/lib/libxklavier.so.15
/usr/lib/libxklavier.so
/usr/lib/libxklavier.so.15.0.0
/usr/share/gtk-doc/html/libxklavier
/usr/share/gtk-doc/html/libxklavier/libxklavier.devhelp
/usr/share/gtk-doc/html/libxklavier/libxklavier.devhelp2
/usr/share/gtk-doc/html/libxklavier/libxklavier-xklavier.html
/usr/include/libxklavier
/var/lib/pacman/local/libxklavier-4.0-1
/var/lib/pacman/sync/extra/libxklavier-4.0-1
/var/cache/pacman/pkg/libxklavier-3.9-2-i686.pkg.tar.gz
/var/cache/pacman/pkg/libxklavier-4.0-1-i686.pkg.tar.gz
[root@antec etc]#

I check in rc.conf and the es keyboard is selected.  I search in the archlinux wiki and in google and also here but do not find help.

EDIT>  now also found that Printer Config in Settings also shows similar error messages about orphan modules, old third party models etc.
Can you help please....

Last edited by arjay (2009-10-31 11:49:10)

Offline

#2 2009-10-27 09:00:52

arjay
Member
Registered: 2009-10-04
Posts: 21

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

Hope it is OK to give this one bump.  If I cannot solve it, I'll have to go back to another distro.  It took me 2 full days to get a decent Arch system up and running.  Don't want to go through all that again after just a couple of weeks of use.  Reminds me of my Gentoo experience!

Offline

#3 2009-10-27 11:08:51

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

Looks like a bad link. Could you tell me the output of

$ ldd /usr/lib/kde4/kcm_keyboard_layout.so

For me it contains

 libxklavier.so.15 => /usr/lib/libxklavier.so.15 (0x00007ff0fe159000)

And also

 ls -l /usr/lib/libxklavier.so*

which should be

lrwxrwxrwx 1 root root     21 2009-09-12 11:48 /usr/lib/libxklavier.so -> libxklavier.so.15.0.0
lrwxrwxrwx 1 root root     21 2009-09-12 11:48 /usr/lib/libxklavier.so.15 -> libxklavier.so.15.0.0
-rwxr-xr-x 1 root root 135797 2009-09-12 11:48 /usr/lib/libxklavier.so.15.0.0

Also, locate is far nicer to use than find, and a lot faster:
1. (as root) pacman -S mlocate
2. (as root) updatedb
3. (as user) locate <name>

Last edited by grey (2009-10-27 11:11:30)


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#4 2009-10-27 14:42:53

arjay
Member
Registered: 2009-10-04
Posts: 21

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

Very kind of you to reply.

The results of your first request is>

linux-gate.so.1 =>  (0xb77cd000)                   
        libxklavier.so.12 => not found                     
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7745000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7629000)                
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7620000)                  
        libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0xb7244000)            
        libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0xb6fcb000)        
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6d9c000)          
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb640b000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6319000)
        libc.so.6 => /lib/libc.so.6 (0xb61d3000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb61b4000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6102000)
        libpcre.so.0 => /lib/libpcre.so.0 (0xb60d1000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb60b8000)
        libdl.so.2 => /lib/libdl.so.2 (0xb60b4000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb60a4000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb6051000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb6038000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6030000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6019000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb5fd6000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb5fd0000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb5fc7000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb5fc2000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb5fb9000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb5f49000)
        libm.so.6 => /lib/libm.so.6 (0xb5f23000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb5e14000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb5e00000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb5df0000)
        liblzma.so.0 => /usr/lib/liblzma.so.0 (0xb5dcf000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb5dcb000)
        librt.so.1 => /lib/librt.so.1 (0xb5dc1000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb5d9b000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5d16000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5ceb000)
        /lib/ld-linux.so.2 (0xb77ce000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb5ce8000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb5ce2000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb5cde000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb5c98000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb5b46000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5b1f000)
[richard@antec ~]$

And the second>

[root@antec richard]#  ls -l /usr/lib/libxklavier.so*
lrwxrwxrwx 1 root root     21 2009-08-23 22:28 /usr/lib/libxklavier.so -> libxklavier.so.15.0.0
lrwxrwxrwx 1 root root     21 2009-08-23 22:28 /usr/lib/libxklavier.so.15 -> libxklavier.so.15.0.0
-rwxr-xr-x 1 root root 115321 2009-08-23 22:28 /usr/lib/libxklavier.so.15.0.0
[root@antec richard]#

As you suspected, libxklavier.so.15 is there, but not so.12 which is presumably what kde is looking for_

The question is,  how do I correct this

Richard

BTW thanks for the tip about locate.  I used to use this ages ago but got out of the habit.  Not sure why.  Maybe the distro I had back then did not have it by default and I needed it quickly one day.  It could not be that I was too lazy to install it I am sure wink

Offline

#5 2009-10-27 16:56:38

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

# pacman -Qo /usr/lib/kde4/kcm_keyboard_layout.so
/usr/lib/kde4/kcm_keyboard_layout.so is owned by kdebase-workspace 4.3.2-2

Try to reinstall that package. It just might fix it.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#6 2009-10-27 18:12:31

arjay
Member
Registered: 2009-10-04
Posts: 21

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

Thanks for the advice.

I am not too experienced with pacman. Always before apt-get.  I tried a reinstall and got a conflict.

pacman -S kdebase-workspace
resolving dependencies...
looking for inter-conflicts...
:: kdebase-workspace conflicts with kdemod-common. Remove kdemod-common? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: kdebase-workspace: conflicts with kdemod-common
#

I thought I had better ask for advice first, so said no to remove kdemod-common.

What should I do do you think

Offline

#7 2009-10-27 19:11:11

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

The fact that you are running kdemod instead of vanilla kde really should have been mentioned in the first post. I'm not saying that it's a bad choice, but I'm curious why you made that choice.

I have no experience with kdemod, but it could be that it hasn't been updated lately and therefore it's latest packages aren't in sync with the rest of arch.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#8 2009-10-27 21:36:02

arjay
Member
Registered: 2009-10-04
Posts: 21

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

Just following the wiki, my friend.  I don't have enough experience of arch to do anything else other than follow the wiki religiously - at least for a first install.

I think, on the basis of my experience so far, I will abandon arch and go for something else.  I have about 5 years experience of using Linux, exclusively, on a home network of 5 PCs and have done my share of modifying scripts etc including 6 months of Gentoo.  I was attracted by the idea of rolling releases  - thus being continuously on the cutting edge, while still confining myself to something that was supposed to be relatively stable.  However, if it is going to crash in this way after just 2 update/upgrades and yes, I read everything I could find before the upgrades, then its not for me.

I am looking for something that will allow me to actually produce output at the end of the day, not just have challenging fun.  Maybe I'll reinstall on one of my other boxes and play about with it some more. But as my primary OS where I design websites and other quite important stuff - I don't think so.

Thanks for your help anyway.

Regards

RJ

Offline

#9 2009-10-27 23:25:34

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

It seems that your system isn't up to date, as ldd output says that you need an older version of libxklavier (libxklavier.so.12 instead of libxklavier.so.15, which you have). First of all run pacman -Syu and if it still doesn't work, you can rebuild the package to use the version you have installed. Any kde-related package you want to install, must be from kdemod if you're using kdemod, so it will be called kdemod-kdebase-workspace (if it's not, search kdebase-workspace with pacman -Ss).

If after updating your system and installing the package it's not solved, you should probably ask at kdemod forums, as it seems to be their issue. Anyway, don't expect this kind of breakages every time you update, it's usually very smooth.

Offline

#10 2009-10-28 07:17:54

arjay
Member
Registered: 2009-10-04
Posts: 21

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

Surgat - thanks for the reply.  I'll give your advice a go later today (I am out all day).  I am reluctant to give up on Arch after investing so much time in getting it up and running.  There is much to like about it, too, as long as maintenance does not end up being unacceptable.

It seems strange that it should report being out of date, as this happened a few days ago after doing an update and upgrade.  As you say maybe the packages are a bit behind.

I'll try and report back.

Offline

#11 2009-10-28 07:48:25

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

looking at this package: http://chakra-project.org/repo/core/i68 … pkg.tar.gz (kdemod-kdebase-workspace-4.3.2-3) :

ldd reports the included libs and binaries are all linked against libxklavier.so.15

Check your version and upgrade to kdemod-kdebase-workspace-4.3.2-3 if necessary. Maybe your mirror is just out of sync.

Note that this isn't an arch issue, since kdemod is provided by the chakra project, and thus it's up to them to keep in sync with arch, and up to you to make sure your packages are up to date, and whether you want to use third party packages at all. Is there any specific reason for using kdemod instead of the official kde packages?

Last edited by hbekel (2009-10-28 07:49:14)

Offline

#12 2009-10-28 09:11:58

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

My 2 cents:

1. I'd switch to vanilla kde. kdemod adds an instance of things that can possibly go wrong, and at the very least when you have a problem you have to make sure that kdemod is *not* causing it. The big advantage used to be that you can install kde packages separately (e.g. you can get kate without all the rest of kdesdk). But now vanilla kde has that option as well.

2. breakages happen. Most of them happen because arch (a) uses up to date packages and (b) doesn't like to patch. The usual scenario is that the developers talk to upstream, but if upstream doesn't consider something a problem, arch will (usually) not patch. The IMO worst breakages I've experienced (kde 4.0, xorg-server / video-intel, cups 1.4, gdm 2.8) were of that type. Upstream knew thing were going to get bumpy, they released nevertheless because of ..., and then arch won't shield you by patching packages to the hilt. There will normally be news items on the home page, forum threads and (with a short delay) wiki entries. And there are common sense measures you can take - check what pacman -Syuw downloads and don't install if you are concerned, check the forums, in particular testing, don't upgrade if you need things to work right now. Still: small patchset + bleeding edge = occasional breakages.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#13 2009-10-31 11:48:20

arjay
Member
Registered: 2009-10-04
Posts: 21

Re: SOLVED Spanish keyboard stopped loading after update, upgrade

Hi everyone.  First, thanks to all who helped me out over this problem.  Second apologies for not replying sooner - been away for a few days.

Now - I resolved this problem.  I did try the various suggestions to update/upgrade kdemod, search and install various kdemod packages but everything stubbornly failed to work

So I followed advice, completely uninstalling kdemod and installing a vanilla kde.  Just in case anyone else comes here with a similar problem, this is what I did:

1. Made a backup copy of ~/.kde4mod just in case.

2. Ran pacman -Rsc kdemod-complete && pacman -S kde.  This ran just fine.

3. Open pacman.d and renamed kdemodmirrorlist as a backup file.

4. Made a backup copy of pacman.conf, then opened the original and removed references to kdemod-core and kdemod-extragear.

5. ran pacman -Sy to update, checked the news pages for any probs and then upgraded.

All runs just fine and I could not be more pleased that I did not have to ditch archlinux in favour of another distro.

Great OS and great forum - couldn't ask for more...........

Offline

Board footer

Powered by FluxBB