Lightsail and libunwind

Hi all,

I’m fiddling around with Amazon Lightsail (low-cost limited version of AWS). I tried putting a console app on a Lightsail instance, and it complains about missing “libunwind.so.8”. This is with 2018r1.1 creating 64-bit Linux apps.

Lightsail uses a Bitnami distro which is bizzaro variant of CentOS, so things are in different places and it doesn’t even come with yum installed. I’m therefore wary about mucking with it lest I destroy things by adding packages that break Apache etc.

Anyone have any experience running Xojo apps on Lightsail? Thanks in advance!

@Charles Weger : I’m using Amazon Linux (v2016.09.0 specifically) on several Lightsail servers, and have had no problems hosting Xojo console apps. These are primarily Aloe Express-based apps, but I’ve now got a few Xojo-based bots running on them as well. The Aloe apps are running behind nginx for proxying, SSL termination, and load balancing.

I hope this helps, but if not, let me know if I can answer any other questions that you have.

I just set up on Lightsail recently and had to install “libunwind.so.8”, as you would on any version of Linux when using Xojo 2018r1 and above.

sudo apt-get update sudo apt-cache search libunwind sudo apt-get install libunwind8

I have a couple of Aloe Express apps running successfully, thanks @Tim Dietrich .

Hi Tim,

Interesting. Lightsail gives you a choice about whether you want apps (like Wordpress) installed, or just bare OS. I spun up this one with their idea of Wordpress. That installs a bitnami image which has everything muddled about for reasons that I can’t fathom; nothing is where you would expect it to be on disk.

Even more interesting, I was totally wrong about it being CentOS. Running “cat /etc/os-release” gives me this:

NAME="Ubuntu" VERSION="16.04.4 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.4 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial

Whereas I just spun up a bare OS Lightsail instance specifying “Amazon Linux” – and then I get this:

NAME="Amazon Linux AMI" VERSION="2018.03" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2018.03" PRETTY_NAME="Amazon Linux AMI 2018.03" ANSI_COLOR="0;33" CPE_NAME="cpe:/o:amazon:linux:2018.03:ga" HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

You’d think I would have noticed that I was running two different distros, but I assumed that installing with vs without apps would give me the same distro. Silly me.

Thanks everyone for your helpful comments.