Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update dev-libs/icu breaks dynamic library loading and KDE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nagmat84
n00b
n00b


Joined: 27 Mar 2007
Posts: 47

PostPosted: Tue May 29, 2012 5:32 pm    Post subject: Update dev-libs/icu breaks dynamic library loading and KDE Reply with quote

Hi,
today I tried a big "world" update. After that I could not log into KDE anymore. The KDM login manager reappears. After some debugging I could find the following errors in .xsession-errors in my home directory.
Code:

startkde: Starting up...
Kded::loadModule: Could not load library "kded_powerdevil" . [ "Could not load library /usr/lib64/kde4/kded_powerdevil.so: (libicuuc.so.48: Cannot open shared-object file: No such file or directory)" ]
Kded::loadModule: Could not load library "kded_keyboard" . [ "Could not load library /usr/lib64/kde4/kded_keyboard.so: (libicuuc.so.48: Cannot open shared-object file: No such file or directory)" ]
Could not open library ksmserver: Cannot load library /usr/lib64/libkdeinit4_ksmserver.so: (libicuuc.so.48: Cannot open shared-object file: No such file or directory)
ksmserver: error while loading shared libraries: libicuuc.so.48: cannot open shared object file: No such file or directory

The error message is correct, because the world update also updated dev-libs/icu from 4.8.1.1-r1 to 49.1.1-r1. Hence, the so.48 files are not available anymore.
The interesting question is, why "revdep-rebuild" does not find the broken package. According to "revdep-rebuild" everything is fine. I also used the linker-tools myself and tried to track down the broken library file myself using "kded_keyboard.so" as the starting point of my investigations. Surprisingly I could not find any dependency to "libicu" at all.
Next I recompiled all packages that were reported by
Code:

equery depends dev-libs/icu

I although re-compiled the packages
Code:

kde-base/powerdevil
kde-base/systemsettings
kde-base/kdelibs

because these packages own the mentioned so-files. Nothing solved the problem!
At the moment I worked around the problem by downgrading to dev-libs/icu-4.8.1.1-r1. But this is just a short-term solution as long as the old version is still available in portage. Any ideas, which kde related packages insists on dev-libs/icu-4.8.1.1-r1 and how to find that package?
Back to top
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4836

PostPosted: Tue May 29, 2012 6:03 pm    Post subject: Reply with quote

It would seem, that something in qt stack has an automagic dep on icu via some variation of dlopen.

Unfortunately, finding out which one may involve greping the libs for strings.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 3582
Location: Irgendwo im Nirgendwo

PostPosted: Tue May 29, 2012 6:08 pm    Post subject: Reply with quote

Either just recompile qt-core or sync and take qt-core-4.8.1-r3
from the ChangeLog:
Quote:
21 May 2012; Davide Pesavento <pesa@gentoo.org> qt-core-4.8.1-r3.ebuild:
amd64/x86 stable to force rebuild against icu-49.

_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
nagmat84
n00b
n00b


Joined: 27 Mar 2007
Posts: 47

PostPosted: Tue May 29, 2012 7:47 pm    Post subject: Reply with quote

Hi,
thank you for the quick answers. "qt-core" was indeed the problem.
Thank you, Matthias
Back to top
View user's profile Send private message
Erdie
Veteran
Veteran


Joined: 20 May 2004
Posts: 1588
Location: Heidelberg - Germany

PostPosted: Fri Jun 29, 2012 4:47 pm    Post subject: Reply with quote

I get the same issue with qt-webkit.

Question. Why doesn´t revdep-rebuild fix this?

Regards
Erdie
_________________
Laptop Nexoc Osiris 619 4GB RAM, Intel C2D 2,5GHz
Desktop Phenom II X4 8GB RAM, Asus GF 430 fanless. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000.
IBM Thinkpad T60
Zotag Mag Mini Atom
Back to top
View user's profile Send private message
nagmat84
n00b
n00b


Joined: 27 Mar 2007
Posts: 47

PostPosted: Fri Jun 29, 2012 5:02 pm    Post subject: Reply with quote

See post by VoidMage. It seems that the depency of icu is not detemined during compile time but by some magic code inside of qt during runtime. And revdep does not find that.
Back to top
View user's profile Send private message
Erdie
Veteran
Veteran


Joined: 20 May 2004
Posts: 1588
Location: Heidelberg - Germany

PostPosted: Fri Jun 29, 2012 5:11 pm    Post subject: Reply with quote

thank you :) That sounds really like magic .. That means, better recompile qt-core and qt-webkit from time to time ..
_________________
Laptop Nexoc Osiris 619 4GB RAM, Intel C2D 2,5GHz
Desktop Phenom II X4 8GB RAM, Asus GF 430 fanless. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000.
IBM Thinkpad T60
Zotag Mag Mini Atom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum