You are not logged in.

#1 2013-03-25 20:38:05

Potomac
Member
Registered: 2011-12-25
Posts: 526

[SOLVED] qt: error while loading shared libraries: libicui18n.so.51

I notice today an error when I run "qtcreator" :

qtcreator: error while loading shared libraries: libicui18n.so.51: cannot open shared object file: No such file or directory

and a warning when I run "qtconfig" :

Unable to load library icui18n "Cannot load library icui18n"

does anyone have the same problem ?

* package version(s)
qt4 4.8.4-16
qtcreator 2.7.0-1
icu 50.1.2-1

Last edited by Potomac (2013-03-26 12:33:21)

Offline

#2 2013-03-25 20:46:29

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Icu 51 is in testing, you have to wait until it's pushed to extra.


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#3 2013-03-25 21:32:22

5ulo
Member
From: Slovakia
Registered: 2012-05-04
Posts: 100

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

for now downgrading qt5-base helps (for me)

sudo pacman -U /var/cache/pacman/pkg/qt5-base-5.0.1-6-x86_64.pkg.tar.xz

Offline

#4 2013-03-25 22:52:15

ant32
Member
Registered: 2013-03-23
Posts: 24

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

this works for me.

sudo pacman -U http://mirror.nl.leaseweb.net/archlinux/testing/os/x86_64/icu-51.1-1-x86_64.pkg.tar.xz

Edit: This causes some other programs not to open. So don't use this if there are other programs dependent on icu-50.

Edit this is how I downgraded it again.

sudo pacman -U http://mirror.nl.leaseweb.net/archlinux/extra/os/x86_64/icu-50.1.2-1-x86_64.pkg.tar.xz

I didn't have qt5-base in my cashe so I downloaded it from A.R.M.

sudo pacman -U http://arm.konnichi.com/2013/03/24/extra/os/x86_64/qt5-base-5.0.1-6-x86_64.pkg.tar.xz

qtcreator works now but I can't use qt assistant. I hope they fix this soon.

Last edited by ant32 (2013-03-25 23:29:32)

Offline

#5 2013-03-25 22:58:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

I wouldn't suggest that without updating all of the other packages that link to libicu.

Offline

#6 2013-03-26 11:19:52

ilsensine
Member
Registered: 2013-03-26
Posts: 32

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

It's not the only one.

It appears that other packages (i.e. qt4 based) depend on the new libicui18n in testing.

For example, executing kwrite on a console prints an error message concerning the missing library. A strace shows an attempt to (dl)open libicui18n.so.51.
Qt5 apps fail because libQt5Core.so is directly linked to the library.

Offline

#7 2013-03-26 12:02:18

Potomac
Member
Registered: 2011-12-25
Posts: 526

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

one temporary solution is to download the file icu-51.1-1-i686.pkg.tar.xz in testing,

then extract the archive ( the lib files ) in your home path ( /home/user/lib ),

put all the lib files ( *.so and lib* files ) in /home/user/lib

then create a script like this :

export LD_LIBRARY_PATH=/home/user/lib:$LD_LIBRARY_PATH
qtcreator

qtcreator should now run without problems

Last edited by Potomac (2013-03-26 12:02:51)

Offline

#8 2013-03-26 12:30:44

Potomac
Member
Registered: 2011-12-25
Posts: 526

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

the problem is solved now, "icu 51" is in Extra

Offline

#9 2013-10-17 20:02:50

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

This is happening to me, I have icu 52.1 and nothing is in testing. Any hint?


Stop the world, I get off...

Offline

#10 2013-10-17 20:53:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Slurp wrote:

This is happening to me, I have icu 52.1 and nothing is in testing. Any hint?

https://bbs.archlinux.org/viewtopic.php … 0#p1338550
The new qt4 is somehow still in [testing].

Offline

#11 2013-10-17 21:05:04

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Not meaning to add to this thread, but I am getting this error when I upgrade ICU 52 for nemo and chromium in the Cinnamon environment.

I am happy to try out the testing version of qt4 and see watch the chaos happen.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#12 2013-10-17 21:20:13

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

I know there is this thread about this issue back in March/May.

I have upgraded all packages, and when I try to run nemo and chromium, I get the following:

[claire ~]$ nemo
nemo: error while loading shared libraries: libicuuc.so.51: cannot open shared object file: No such file or directory
[claire ~]$ chromium
/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.51: cannot open shared object file: No such file or directory

I downgraded the icu package from 52.1-1 to 51.2-1 and this resolved the problems. Does anyone else know what is going on here?

Last edited by clfarron4 (2013-10-17 21:20:25)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#13 2013-10-17 21:21:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

I think it's better to post in the other thread.

clfarron4, try downloading qt4 only first https://bbs.archlinux.org/viewtopic.php … 7#p1338567
There may be no need to enable [testing].

Offline

#14 2013-10-17 21:22:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Offline

#15 2013-10-17 21:26:29

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Sorry it looks like I'm splurging everywhere so I'm going to stick to this thread.

I am using Cinnamon, not KDE, so I don't really see how upgrading qt4 should fix the problem. That said, I went ahead, as you suggested and upgraded qt4 manually, but it seems there is no dice for now. I'm going to perform a reboot and report back here.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#16 2013-10-17 21:30:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Ooops, sorry.
Have you checked you're using the latest chromium - version 30.0.1599.101-1?

If so, I think a bug report is in order. Chromium depends on icu directly, so I don't know what could have gone wrong.

Offline

#17 2013-10-17 21:34:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Merging...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#18 2013-10-17 21:34:23

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,093

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

chromium works fine here with ICU 52. Run it with LD_DEBUG=files and check what exactly is trying to open libicui18n.so.51

Offline

#19 2013-10-17 21:37:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

As for the nemo error https://bbs.archlinux.org/viewtopic.php … 7#p1338577 have you checked the version of libtracker-sparql https://www.archlinux.org/packages/extr … ker-sparql ? You should be using libtracker-sparql 0.16.2-3

Last edited by karol (2013-10-17 21:38:28)

Offline

#20 2013-10-17 21:45:40

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

Ok, so I have used (in this order):

1) qt4 @ 4.8.5-2 with icu @ 51.2-1. Everything worked here.
2) qt4 @ 4.8.5-2 with icu @ 52.1-1. Nemo and Chromium didn't work complaining of the error I have in code tags above.
3) qt4 @ 4.8.5-3 with icu @ 52.1-1. Nemo and Chromium didn't work complaining of the error I have in code tags above.
4) qt4 @ 4.8.5-3 with icu @ 51.2-1. Chromium didn't work complaining of the error I have in code tags above. Nemo worked.
5) qt4 @ 4.8.5-2 with icu @ 51.2-1 (After all the above). Chromium didn't work complaining of the error I have in code tags above. Nemo works.

Oh, and I forgot to mention that I am using the chromium-scroll-pixels package from repo-ck. Going to switch to normal chromium for now.
EDIT4: The package ibtracker-sparql was at version @0.16.2-2 up to this point.

EDIT: @karol, it seems I haven't got that package update for libtracker-sparql yet.

EDIT2: And now for the next test after updating that libtracker-sparql manually (Thanks karol):
6) qt4 @ 4.8.5-3 with icu @ 52.1-1 and libtracker-sparql @0.16.2-3 .  Nemo worked. Chromium still to test.

EDIT3:
7) qt4 @ 4.8.5-3 with icu @ 52.1-1 and libtracker-sparql @0.16.2-3 .  Nemo worked. Chromium works.

Last edited by clfarron4 (2013-10-17 21:53:17)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#21 2013-10-17 21:56:50

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,093

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

How could you have got the ICU update but not the libtracker-sparql one? Both packages were moved to [extra] simultaneously

Offline

#22 2013-10-17 22:03:45

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

arojas wrote:

How could you have got the ICU update but not the libtracker-sparql one? Both packages were moved to [extra] simultaneously

Hell if I know. It works now, so that's me a happy girl for now.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#23 2013-12-10 09:48:21

gregnietsky
Member
Registered: 2013-12-10
Posts: 1

Re: [SOLVED] qt: error while loading shared libraries: libicui18n.so.51

A possible solution will be that when it links the lib it uses -nodefaultlibs -nostdlib changing this resolves the issue.

i am running on a ARM chromebook and the likely reason for this is missing ABI calls from -lgcc i was getting  errror on libicudata.

edit source/config/mh-linux and alter LDFLAGSICUDT

hope this helps out

Offline

Board footer

Powered by FluxBB