I’ve been using the Linux Console experimental builds on my system for quite a while now without having experienced any problems. But now that I’ve switched to a 64bit build of my distro (because of upgrading to 8GB RAM and also due to the fact that 32bit has gradually become obsolete), I’m not sure on how to run these builds anymore.
The classic way to run 32bit applications on Linux (i.e. installing adding i386 arch and installing i386 versions of core libraries like libc, libstdc++ and libncurses) also doesn’t work. I added the i386 architecture as instructed:
$ sudo dpkg --add-architecture i386
$ sudo apt update
I then installed the i386 versions of the core libraries:
$ sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386
I then downloaded the latest C:DDA linux-console experimental build (as of now) and extracted it:
$ wget http://dev.narc.ro/cataclysm/jenkins-latest/Linux/Curses/cataclysmdda-0.C-6376.tar.gz
...
$ tar xzf cataclysmdda-0.C-6376.tar.gz
$ cd cataclysmdda-0.C
But when I tried to run the C:DDA binary (with the requisite permissions), it printed an error and exited:
$ chmod u+x cataclysm
$ ./cataclysm
./cataclysm: error while loading shared libraries: liblua5.2.so.0: cannot open shared object file: No such file or directory
I’m on an up-to-date Debian Testing amd64 machine.
Compiling C:DDA is a pain; not because of missing libraries and stuff but because cloning the git repo takes forever. The first time I tried cloning the git-repo, it began fetching stuff which went over ~50M and then I quit that… because I’m downloading the source-code of a roguelike not some bloated electron-app. Even If I download the source (which will take a long time on my ~100KBps connection), it is not feasible since I’ll have to download it over and over again due to the lack of a current stable version.
So how should I go about running the 32bit binary of the latest-experimental? And more importantly why a 64bit build of C:DDA isn’t available? After all, most of the users would be using 64bit system with 4GB+ RAM becoming a necessity in today’s world. I know it isn’t fair to assume that everybody uses an amd64 distro but there should be an option because the 32bit binary doesn’t work right now.
On a side note, why is a roguelike like C:DDA has such a huge master repo? And if the repo is indeed huge and it can’t be helped then shouldn’t an updated version of the source code stripped-off of needless stuff be available on the site?