ID:1441860
 
When I try to run BYOND on a 64-bit server running Ubuntu 13.10, I get the following error:

/usr/local/byond/bin/DreamDaemon: error while loading shared libraries: libgcc_s.so.1: wrong ELF class: ELFCLASS64

Is there an official BYOND link to the 32-bit libgcc_s.so.1 used during compilation?

I'm currently linking
libstdc++.so.6 to the downloaded file http://www.byond.com/download/build/gcc/libstdc++.so.5
You need to install Ubuntu's 32 bit libraries.

1. Installation of 32-bit compatibility libraries (ia32-libs or Multiarch support)

https://help.ubuntu.com/community/32bit_and_64bit
Just so you're aware, ia32-libs is no longer supported, and multiarch as a bundle has itself been deprecated, though that suggestion did get me on the right track.

For anyone else who has this issue:
sudo apt-get install libstdc++6:i386
Well, it seems like multiarch is actually what they've replaced ia32-libs with, on Ubuntu, which would make sense, as this has been Fedora/RedHat/CentOS's approach for ... 7 years now?

So you'd:

sudo apt-get install libgcc1:i386

Which is presumably what they've made ia32-libs do these days, among other things.
Yeah I didn't follow up with the complete command, but I just setup another 64-bit Ubuntu 13.10 box with BYOND, and the following installation fixed all dependency problems:

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386