On Ubuntu 16.04, the required dependencies listed on this page, i.e.
$ sudo apt-get install clang libicu-dev
don't seem to be enough.
E.g.
vagrant@ubuntu-xenial:~$ swift-4.1-RELEASE-ubuntu16.04/usr/bin/swift
/home/vagrant/swift-4.1-RELEASE-ubuntu16.04/usr/bin/lldb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
vagrant@ubuntu-xenial:~$ swift-4.1-RELEASE-ubuntu16.04/usr/bin/swift test
/home/vagrant/swift-4.1-RELEASE-ubuntu16.04/usr/bin/swift-test: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
Can the list of required dependencies be updated with whatever is necessary? These kinds of issues are major stumbling blocks for people wanting to use Swift on Linux.
I have installed Swift according to Swift.org - Download Swift including libpython2.7.
When I run the command swift I get the error message: /usr/share/swift/usr/bin/lldb: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory