Search code examples
linuxswiftubuntu-15.04

Error with swift command in terminal in ubuntu 15.04


I installed the open sourced version of Swift from swift.org for Ubuntu 15.10, but I am running Ubuntu 15.04 in my machine. Now when I executed the swift command in the terminal it raising the following error.

swift/usr/bin/repl_swift:error while loading shared libraries: libicuuc.so.55: cannot open shared object file: No such file or directory

error: failed to stop process at REPL breakpoint

I ran the following command to ensure libicu52 is installed.

 sudo apt-get install libicu52

Please help me to sort out this problem. Thanks in advance.


Solution

  • I tried this as well

    apt-get install libicu-dev
    

    It worked for me