Saturday, April 10, 2010

kdemod4 doesn't work after latest Arch update

Hi all!
Here I am with a post on the fly!

UPDATE April 12th 2010: this post has become useless since the last update of qtmod to version 4.6.2-2

DISCLAIMER: on the net they say symlinking ssl libraries is never a good idea for security issues(!?!). As always... the choice is yours! In this way it simply works, but everyone of you should know the risks he can afford. Another solution is the downgrade of openssl to version 0.9.8, waiting for the next kdemod update ;-)

As the title says, few second ago I couldn't make it work kdemod4 after the latest Arch update.
After some troubleshooting finding that Xorg alone was working, I checked the kdm log file:
$ tail /var/log/kdm.log

and this was the answer:

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 10 20:54:38 2010
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
/usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

Then I checked libssl finding that its package (openssl) had been updated to version 1.0

Hence the solution is a simple symbolic link in order to let kdm_greet launch the 1.0.0 version looking for the 0.9.8 version

$ cd /usr/lib
$ sudo ln -s libssl.so.1.0.0 libssl.so.0.9.8

... all done?!?! NO :-P because after the next kdm restart I got this variation among the same theme:

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 10 21:00:53 2010
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
/usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory

which says it's needed another sym link, this time for libcrypto:

$ cd /usr/lib
$ sudo ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.8

And today, again, the day is safe... thanks to log files ;-)

keep on hacking!
Andy