I've been trying to follow the instructions mentioned in Swift.org - Download Swift for downloading and setting up Swift on an AL2 machine. For start, the part for installing dependencies, there are two of them that fail to be installed: libsqlite and libedit.
And this would result in getting following error message when running any swift command:
$ swift --version
swift: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
Is there anything I'm missing or need to setup first to be able to install those dependencies?
I think you are right. However, at looks like libsqlite3 is installed on the system by default. Could you check by running ls /usr/lib64 | grep sqlite? libtinfo is also installed on my system by default.