Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

libicuuc.so.55: cannot open shared object file

Tags:

swift

ubuntu

While am compile using swift build, am getting following error in my Ubuntu machine

$swift build

/home/xxxxxxxxx/Downloads/swift-DEVELOPMENT-SNAPSHOT-2016-02-25-a-ubuntu15.10/us
r/bin/swift-build: error while loading shared libraries: libicuuc.so.55: cannot
open shared object file: No such file or directory

How can i fix this issue?

Thanks.

like image 889
Mansoor H Avatar asked Mar 07 '16 09:03

Mansoor H


3 Answers

You can manually download the good .dep

wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7_amd64.deb

Then you run:

sudo dpkg -i libicu55_55.1-7_amd64.deb

If it miss some dependency:

sudo apt-get -f install

It has worked for me. Your can find the other architecture on the debian package website :

https://packages.debian.org/sid/libicu55

p.s: I know this is on SID, but this is the only version that I found

*note...packages may have been removed

like image 72
hallow_me Avatar answered Oct 15 '22 20:10

hallow_me


Your system lacks a critical component for building Swift, libicu-dev.

Install this:

sudo apt-get install libicu-dev

But that was for building Swift from source. You were talking about building with Swift, my apologies.

Unfortunately it seems it won't work either: Swift for Linux only officially runs on Ubuntu 15.10 and 14.04, and you tell me in the comments that you're running 15.04.

I know there's tutorials on the web on how to make it work on Mint and other distros... But the best would be, if possible, that you update your install of course.

like image 4
Eric Aya Avatar answered Oct 15 '22 21:10

Eric Aya


I searched on the net and find a list in debian packages that shows the libicuuc.so.55 file.

apt-get install libicu55

Will resolve the issue.

like image 2
Alexsoyes Avatar answered Oct 15 '22 21:10

Alexsoyes