Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
revdep-rebuild won't fix all dependencies?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
zasdfgbnm
n00b
n00b


Joined: 06 Apr 2012
Posts: 43

PostPosted: Wed May 09, 2012 6:04 am    Post subject: revdep-rebuild won't fix all dependencies? Reply with quote

I upgrade icu to 49.1.1-r1 yestoday. After upgrade and revdep-rebuild, I still get:
Code:
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)"
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)"

when running gvim.
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1146
Location: Austria

PostPosted: Wed May 09, 2012 6:14 am    Post subject: Reply with quote

Try
Code:
revdep-rebuild -i
for dismissing previously generated files (just in case there are any)

To find the package the missing file belongs to, you may want to try
Code:
equery b libicui18n.so.48


Hope this helps.
_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
zasdfgbnm
n00b
n00b


Joined: 06 Apr 2012
Posts: 43

PostPosted: Wed May 09, 2012 8:24 am    Post subject: Reply with quote

thanks for your reply, but both of these thing gives nothing.
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 970
Location: New Zealand

PostPosted: Wed May 09, 2012 9:22 am    Post subject: Reply with quote

Recompiled gvim? And/or its dependencies like: emerge -pve gvim
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1146
Location: Austria

PostPosted: Wed May 09, 2012 10:07 am    Post subject: Reply with quote

You could do it that way:
Code:
revdep-rebuild --library 'libicui18n.so.48'

_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
zasdfgbnm
n00b
n00b


Joined: 06 Apr 2012
Posts: 43

PostPosted: Wed May 09, 2012 12:24 pm    Post subject: Reply with quote

whig wrote:
Recompiled gvim? And/or its dependencies like: emerge -pve gvim

I haven't tried yet because it gives a long list, but I think it will work. But the problem is, many other program also have the same problem and I am not able to try every program and recompile them.
Back to top
View user's profile Send private message
zasdfgbnm
n00b
n00b


Joined: 06 Apr 2012
Posts: 43

PostPosted: Wed May 09, 2012 12:31 pm    Post subject: Reply with quote

ToeiRei wrote:
You could do it that way:
Code:
revdep-rebuild --library 'libicui18n.so.48'

This command doesn't do anything more than revdep-rebuild with no parameters. The revdep-rebuild with no parameter searches all libraries together with the library given by --library.
Thank you all the same.
Back to top
View user's profile Send private message
BastianBalthazarBux
Retired Dev
Retired Dev


Joined: 10 Dec 2004
Posts: 78

PostPosted: Wed May 09, 2012 3:47 pm    Post subject: Reply with quote

from the gentoo-user ml
Quote:

qbittorrent and icui18n lib
On 04/28/2012 09:05 PM, walt wrote:
> On 04/28/2012 06:04 AM, András Csányi wrote:
>> On 28 April 2012 14:55, Florian Philipp <lists@binarywings.net> wrote:
>>
>>> Have you tried re-emerging qbittorrent? If the library was upgraded,
>>> this seems to be necessary. revdep-rebuild should have reported this
>>> issue but maybe qbittorrent uses dlopen() and friends to load the
>>> library. revdep cannot handle this.
>>
>> Yes, I have tried but the issue is the same. On the other hand,
>> qbittorrent is not able to start for some other reason.
>
> If rebuilding qbittorrent didn't fix the missing library problem, then
> some other library that qbittorrent uses also needs rebuilding.
>
> One of my favorite tools is lddtree (app-misc/pax-utils) which will
> make it obvious which other library is at fault.
>
>
>
>
You should rebuild qt-core because this is the package that uses
dlopen() to load libicu. This should fix the problem with qbittorrent.
Back to top
View user's profile Send private message
FuzzyRay
Developer
Developer


Joined: 02 Oct 2003
Posts: 76

PostPosted: Wed May 09, 2012 8:19 pm    Post subject: Re: revdep-rebuild won't fix all dependencies? Reply with quote

zasdfgbnm wrote:
I upgrade icu to 49.1.1-r1 yestoday. After upgrade and revdep-rebuild, I still get:
Code:
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)"
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)"

when running gvim.


This is Bug 413541. This issue is in the qt-core package which is dynamically loading the library based on what was on the system at build time. According to the developers, all of the applications will still work even with the error. Unfortunately, there is no mechanism that revdep-rebuild can use to know that an application is dynamically loading a library since the library is not linked to the application.

The fix to make the error go away is to run:
Code:
emerge --oneshot qt-core
Back to top
View user's profile Send private message
zasdfgbnm
n00b
n00b


Joined: 06 Apr 2012
Posts: 43

PostPosted: Thu May 10, 2012 2:52 am    Post subject: Reply with quote

Thanks :)
Back to top
View user's profile Send private message
zoidie
n00b
n00b


Joined: 13 Apr 2010
Posts: 39

PostPosted: Thu May 10, 2012 10:25 am    Post subject: Reply with quote

Any suggestions what I can do with this? I'm getting the same problem but also unable to emerge any packages as emerge also gives this error! Its the same chrooting in from a live cd (and now I find I can't log back into KDE!).
Back to top
View user's profile Send private message
zoidie
n00b
n00b


Joined: 13 Apr 2010
Posts: 39

PostPosted: Fri May 11, 2012 8:19 am    Post subject: Reply with quote

My problem was caused by using SQLite cache. I disabled that and was able to complete revdep-rebuild and finish emerging the rest of the apps that had failed.

Still got a problem logging into KDE - only failsafe works. But I'll look into this and create a new thread if required.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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