Won't run on Ubuntu 18.10

I'm trying to install the swift-5.0.1-RELEASE-ubuntu18.04.tar.gz tarball on an Ubuntu 18.10 system but when I run the swift binary I get this error

swift: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

I too had the same issue when I used the tarball swift-5.0.1-RELEASE-ubuntu16.04.tar.gz under Ubuntu 16.04.

Though the PATH had been set...it could not open the available lib files.

And when I installed through snap, the lib files lookup are all fine but other errors are coming. Refer

Sounds like you’re missing libtinfo5 package.

Try

sudo apt install libtinfo5

Thank you, that solved my issue!

Terms of Service

Privacy Policy

Cookie Policy