You are not logged in.

#1 2016-12-02 07:39:12

azat_io
Member
Registered: 2016-11-16
Posts: 24

[SOLVED] Error while loading shared libraries: libicuuc.so.57

When I'm trying to use telegram-desktop package I'm getting an error:

[azat@pc ~]$ telegram-desktop 
telegram-desktop: error while loading shared libraries: libicuuc.so.57: cannot open shared object file: No such file or directory
[azat@pc ~]$ ldconfig -p | grep libicuuc
	libicuuc.so.58 (libc6,x86-64) => /usr/lib/libicuuc.so.58
	libicuuc.so.58 (libc6) => /usr/lib32/libicuuc.so.58
	libicuuc.so (libc6,x86-64) => /usr/lib/libicuuc.so
	libicuuc.so (libc6) => /usr/lib32/libicuuc.so

Is it a problem of telegram-desktop package? What I need to do?

Last edited by azat_io (2016-12-07 14:01:25)

Offline

#2 2016-12-02 07:47:45

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

/usr/lib/libicuuc.so is owned by the `icu` package, which has been upgraded to version 58 yesterday.
Given that `telegram-desktop` is an AUR package, it is your job to rebuild and reinstall it in case of library version bumps (I assume that you haven't rebuilt it yet, so it still links against the old version).


pkgshackscfgblag

Offline

#3 2016-12-02 15:57:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

Moving to AUR issues, Discussion and PKGBUILD Requests.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2016-12-07 10:11:39

azat_io
Member
Registered: 2016-11-16
Posts: 24

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

I downgrade icu package.

But after then I have problem with nautilus

[azat@pc db]$ nautilus
nautilus: error while loading shared libraries: libicui18n.so.58: cannot open shared object file: No such file or directory

Offline

#5 2016-12-07 10:22:43

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

That's not what you were told to do.

You need to keep the updated icu package and then rebuild and reinstall telegram-desktop.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2016-12-07 10:23:12

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

azat_io wrote:

I downgrade icu package.

Wha-... NO!

Please read my post again, and then read this, and then try to figure out why that nautilus error is a logic consequence of what you did.

--edit--
A little late - also, I might not have been clear enough: it is your job to rebuild AUR packages (like telegram-desktop) in case of library updates that affect your AUR package (like libicuuc.so).

Last edited by ayekat (2016-12-07 10:28:06)


pkgshackscfgblag

Offline

#7 2016-12-07 11:09:19

azat_io
Member
Registered: 2016-11-16
Posts: 24

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

Oh no. How can I solve this problem now?

[azat@pc pkg]$ sudo pacman -U icu-58.1-2-x86_64.pkg.tar.xz 
pacman: error while loading shared libraries: libicuuc.so.58: cannot open shared object file: No such file or directory

Offline

#8 2016-12-07 11:21:16

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

azat_io wrote:
pacman: error while loading shared libraries: libicuuc.so.58: cannot open shared object file: No such file or directory

Well, congratulations.
It's probably easiest to boot into a live system and fix your system from there:

pacman -r /mnt -Syu

(assuming you've mounted your system into `/mnt`)

Last edited by ayekat (2016-12-07 12:39:02)


pkgshackscfgblag

Offline

#9 2016-12-07 14:01:02

azat_io
Member
Registered: 2016-11-16
Posts: 24

Re: [SOLVED] Error while loading shared libraries: libicuuc.so.57

Problem solved

Offline

Board footer

Powered by FluxBB