Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Missing libicui18n.so.57 after upgrade to icu:58
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
Lu Tze
n00b
n00b


Joined: 21 Nov 2005
Posts: 22
Location: Tugadogalong

PostPosted: Wed Nov 30, 2016 1:28 pm    Post subject: [SOLVED] Missing libicui18n.so.57 after upgrade to icu:58 Reply with quote

Today I upgraded @world and portage pulled in the new icu:58. It compiled fine, but after it got installed a lot of programs started complaining about missing libicui18n.so.57, even after (repeated) re-emerge. I must have emerged qtcore-5.6.1 about 5 times, to no avail. Everything that depends on Qt (as well as firefox and thunderbird) fails with the message that libicui18n.so.57 cannot be found:

Code:

$ ~> firefox
XPCOMGlueLoad error for file /usr/lib64/firefox/libxul.so:
libicui18n.so.57: cannot open shared object file: No such file or directory
Couldn't load XPCOM.


I thought that downgrading icu might help, but instead things got even weirder. I installed icu:57 using

Code:

# ~> emerge -av1 --nodeps =dev-libs/icu-57.1

These are the packages that would be merged, in order:

[ebuild     UD ] dev-libs/icu-57.1:0/57::gentoo [58.1-r1:0/58.1::gentoo] USE="-debug -doc -examples -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 1 package (1 downgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


But then I got the following message:

Code:

$ ~> firefox
XPCOMGlueLoad error for file /usr/lib64/firefox/libxul.so:
libicui18n.so.58: cannot open shared object file: No such file or directory
Couldn't load XPCOM.


Note that it is looking for libicui18n.so.58 this time.

To sum up, if I have icu:58 installed, a lot of packages want libicui18n.so.57, and if I have icu:57 installed, they want libicui18n.so.58. I tend to use this very sparingly, but WTF?!?

I have made a symbolic link called libicui18n.so.57 to libicui18n.so.58 in /usr/lib64, which miraculously allows me to use firefox (thunderbird, konsole, qtcreator, etc.). I honestly didn't think this would work (it shouldn't!), but it does, which I'm grateful for.

Does anyone have a clue about what is going on? Anyone experiencing the same problem? Incidentally, revdep-rebuild doesn't report any problems.
_________________
"My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright


Last edited by Lu Tze on Wed Nov 30, 2016 10:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Nov 30, 2016 2:39 pm    Post subject: Reply with quote

Updating to dev-libs/icu-58.1-r1 should have triggered rebuilds of those affected packages.
If not, you could try
Code:
# emerge --ask @preserved-rebuild
Back to top
View user's profile Send private message
Lu Tze
n00b
n00b


Joined: 21 Nov 2005
Posts: 22
Location: Tugadogalong

PostPosted: Wed Nov 30, 2016 9:28 pm    Post subject: Reply with quote

Quote:
Updating to dev-libs/icu-58.1-r1 should have triggered rebuilds of those affected packages.


It did. As I said, I also emerged the affected packages (qtcore, firefox, konsole, thunderbird...) manually several times after icu was upgraded.

Quote:

If not, you could try
Code:

# emerge --ask @preserved-rebuild



Code:

# ~> emerge -av @preserved-rebuild

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

Nothing to merge; quitting.

_________________
"My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright
Back to top
View user's profile Send private message
Lu Tze
n00b
n00b


Joined: 21 Nov 2005
Posts: 22
Location: Tugadogalong

PostPosted: Wed Nov 30, 2016 10:20 pm    Post subject: Reply with quote

I'm totally lost now. :x

I mentioned that I created libicui18n.so.57 and libicuuc.so.57 as symlinks to libicui18n.so.58 and libicuuc.so.58, respectively, in order to use at least firefox. I just removed these symlinks and ran revdep-rebuild (note that I did this numerous times yesterday!):

Code:

# ~> revdep-rebuild
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 

 * Dynamic linking on your system is consistent... All done.



But in the meantime I tried opening some programs, and it seems that the system is working fine without the symlinks! :?

I lost an entire day trying to fix this, and today the issue is gone. Does anyone have an idea what might have been the problem? Why wouldn't packages link against the new icu but then work all of a sudden the next day?

OUCH (One Unhappy Camper Here)
_________________
"My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright
Back to top
View user's profile Send private message
Lu Tze
n00b
n00b


Joined: 21 Nov 2005
Posts: 22
Location: Tugadogalong

PostPosted: Wed Nov 30, 2016 10:54 pm    Post subject: Reply with quote

Marking as solved because it seems to be, but I'm still very perplexed. I'm not sure how it got fixed, perhaps cosmic radiation :? .
_________________
"My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 916

PostPosted: Thu Dec 08, 2016 11:31 am    Post subject: Reply with quote

I ran into this recently on one machine. Even with the emerge log, I can't quite retrace what went wrong in detail, but I think it was some indirect dependency not being picked up by revdep-rebuild. Probably webkit-gtk.
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