You are not logged in.

#1 2017-11-21 23:58:52

lister-of-smeg
Member
Registered: 2017-11-21
Posts: 2

[SOLVED]Pacman fails due to missing shared library after upgrading icu

I recently installed qmmp-1.1.12-1-x86_64...

[ken@holly ~]$ sudo pacman -S qmmp
resolving dependencies...
looking for conflicting packages...

Packages (9) double-conversion-3.0.0-1  libxkbcommon-x11-0.7.2-1  qt5-base-5.9.2-2  qt5-x11extras-5.9.2-1  tslib-1.14-1
             xcb-util-image-0.4.0-1  xcb-util-renderutil-0.3.9-1  xcb-util-wm-0.4.1-1  qmmp-1.1.12-1

Total Download Size:   13.32 MiB
Total Installed Size:  66.93 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libxkbcommon-x11-0.7.2-1-x86_64                        18.0 KiB   487K/s 00:00 [#############################################] 100%
 xcb-util-renderutil-0.3.9-1-x86_64                      8.2 KiB  2.66M/s 00:00 [#############################################] 100%
 xcb-util-wm-0.4.1-1-x86_64                             30.5 KiB  2.29M/s 00:00 [#############################################] 100%
 xcb-util-image-0.4.0-1-x86_64                          15.9 KiB  3.89M/s 00:00 [#############################################] 100%
 tslib-1.14-1-x86_64                                    81.4 KiB  1892K/s 00:00 [#############################################] 100%
 double-conversion-3.0.0-1-x86_64                       45.6 KiB  4.46M/s 00:00 [#############################################] 100%
 qt5-base-5.9.2-2-x86_64                                11.3 MiB  3.44M/s 00:03 [#############################################] 100%
 qt5-x11extras-5.9.2-1-x86_64                           13.8 KiB  1966K/s 00:00 [#############################################] 100%
 qmmp-1.1.12-1-x86_64                                 1856.5 KiB  4.06M/s 00:00 [#############################################] 100%
(9/9) checking keys in keyring                                                  [#############################################] 100%
(9/9) checking package integrity                                                [#############################################] 100%
(9/9) loading package files                                                     [#############################################] 100%
(9/9) checking for file conflicts                                               [#############################################] 100%
(9/9) checking available disk space                                             [#############################################] 100%
:: Processing package changes...
(1/9) installing libxkbcommon-x11                                               [#############################################] 100%
(2/9) installing xcb-util-renderutil                                            [#############################################] 100%
(3/9) installing xcb-util-wm                                                    [#############################################] 100%
(4/9) installing xcb-util-image                                                 [#############################################] 100%
(5/9) installing tslib                                                          [#############################################] 100%
(6/9) installing double-conversion                                              [#############################################] 100%
(7/9) installing qt5-base                                                       [#############################################] 100%
Optional dependencies for qt5-base
    qt5-svg: to use SVG icon themes
    postgresql-libs: PostgreSQL driver
    libmariadbclient: MariaDB driver
    unixodbc: ODBC driver
    libfbclient: Firebird/iBase driver [installed]
    freetds: MS SQL driver
    gtk3: GTK platform plugin [installed]
(8/9) installing qt5-x11extras                                                  [#############################################] 100%
(9/9) installing qmmp                                                           [#############################################] 100%
Optional dependencies for qmmp
    flac: native FLAC support [installed]
    jack: JACK sound output [installed]
    libmpcdec: Musepack support [installed]
    pulseaudio: PulseAudio output [installed]
    libcdio-paranoia: Compact Disc input and control support [installed]
    libcddb: CDDB server support [installed]
    libmms: MMS stream protocol support [installed]
    libmodplug: MOD playing library [installed]
    libsndfile: sampled sound support [installed]
    projectm: visual efects
    faad2: ADTS AAC support [installed]
    libgme: support for chiptunes from various platforms [installed]
    libsidplayfp: C64 music support [installed]
    opusfile: Opus support
    wildmidi: MIDI support [installed]
    ffmpeg [installed]
    libsamplerate [installed]
    wavpack [installed]
:: Running post-transaction hooks...
(1/3) Updating icon theme caches...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating the desktop file MIME type cache...

When I tried to run the application I got this:-

[ken@holly ~]$ qmmp
qmmp: error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory

So, I upgraded icu...

[ken@holly ~]$ sudo pacman -S icu lib32-icu
resolving dependencies...
looking for conflicting packages...

Packages (2) icu-60.1-1  lib32-icu-60.1-1

Total Download Size:   16.12 MiB
Total Installed Size:  65.33 MiB
Net Upgrade Size:       1.43 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 icu-60.1-1-x86_64                                       8.4 MiB  3.48M/s 00:02 [#############################################] 100%
 lib32-icu-60.1-1-x86_64                                 7.7 MiB  3.46M/s 00:02 [#############################################] 100%
(2/2) checking keys in keyring                                                  [#############################################] 100%
(2/2) checking package integrity                                                [#############################################] 100%
(2/2) loading package files                                                     [#############################################] 100%
(2/2) checking for file conflicts                                               [#############################################] 100%
(2/2) checking available disk space                                             [#############################################] 100%
:: Processing package changes...
(1/2) upgrading icu                                                             [#############################################] 100%
(2/2) upgrading lib32-icu                                                       [#############################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

As you can see - no dependency warnings in either case - But now, when I run pacman I get:-

[ken@holly ~]$ pacman
pacman: error while loading shared libraries: libicuuc.so.59: cannot open shared object file: No such file or directory

Can anyone help me get pacman working on my system again, please?

Last edited by lister-of-smeg (2017-11-22 00:32:19)

Offline

#2 2017-11-22 00:09:13

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

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

Partial upgrades are unsupported.

Boot from a live media and either chroot or use pacman's --root option to do a full system upgrade.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-11-22 00:11:07

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

You will need to boot from the installation media and run pacman from there and update your ENTIRE system.  Partial upgrades are unsupported.

Offline

#4 2017-11-22 00:11:42

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

Partial upgrades are unsupported

Boot from the installation media and do a full upgrade.

More complex and without further help: You might be able to find the old icu in your pacman cache. You should be able to extract the old icu, call pacman with LD_LIBRARY_PATH set to the extracted lib files and use it to install the previous icu from the cached package file. Then do a proper full upgrade with the normal pacman command.

Last edited by progandy (2017-11-22 00:13:59)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#5 2017-11-22 00:25:31

lister-of-smeg
Member
Registered: 2017-11-21
Posts: 2

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

progandy wrote:

Partial upgrades are unsupported

Boot from the installation media and do a full upgrade.

More complex and without further help: You might be able to find the old icu in your pacman cache. You should be able to extract the old icu, call pacman with LD_LIBRARY_PATH set to the extracted lib files and use it to install the previous icu from the cached package file. Then do a proper full upgrade with the normal pacman command.

No, your original suggestion was fine!

I didn't have the previous version of icu in my cache, but I was able to download it from here. Extracted the tarball and...

[ken@holly ~]$ sudo LD_LIBRARY_PATH=usr/lib pacman -Syu
:: Synchronising package databases...
 core                                                  124.2 KiB  1061K/s 00:00 [#############################################] 100%
 extra                                                1659.6 KiB  2.81M/s 00:01 [#############################################] 100%
 community                                               4.1 MiB  3.01M/s 00:01 [#############################################] 100%
 multilib                                              172.6 KiB  2.96M/s 00:00 [#############################################] 100%
 sublime-text is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

All fine now. Thanks for your help!

Offline

#6 2017-11-22 00:28:54

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

Glad you got it working.  Just remember from now on, always do 'pacman -Syu' when you want to install something or upgrade.

Please remember to mark your thread as solved by editing the first post and prepending the title with [Solved]

Offline

#7 2017-11-22 00:31:21

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

lister-of-smeg wrote:

No, your original suggestion was fine!

This way you'll have to think about it and if someone else stumbles on this, they probably won't just dumbly follow instructions and make their problem worse.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#8 2017-11-22 00:55:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

circleface wrote:

Just remember from now on, always do 'pacman -Syu' when you want to install something

While good advice, this isn't strictly necessary.  There is nothing wrong with installing new packages with `pacman -S <pkg>`: no matter how out of date you are, this on it's own could never lead to a partial upgrade, the worst case would be that the package wouldn't be found on the mirror and pacman would exit with an error.

What matters is that one should never use the '-Sy' flags without 'u'.

Last edited by Trilby (2017-11-22 00:56:27)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2017-11-24 05:01:51

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,131

Re: [SOLVED]Pacman fails due to missing shared library after upgrading icu

Trilby wrote:
circleface wrote:

Just remember from now on, always do 'pacman -Syu' when you want to install something

There is nothing wrong with installing new packages with `pacman -S <pkg>`: no matter how out of date you are, this on it's own could never lead to a partial upgrade,

Almost everything I've ever installed on Arch has been installed with this. I didn't realise for ages that I could do pacman -Syu <something new to install>. Therefore, since I knew not to do pacman -Sy <something new to install>, I concluded I should do pacman -S <something new to install> and only every use y when updating the system with pacman -Syu. I guess I thought of updating and installing something new as distinct actions. The result is that although I now know I could combine them, I almost never do. The habit is too strong. It makes me nervous using y with the name of a package, even if I have u, too.

Last edited by cfr (2017-11-24 05:02:58)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB