Won't run on Ubuntu 18.10

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