Quick update for ubuntu 16.04 and the current libcod version (which doesnt require the gcc-multilib thing anymore):

PHP Code:
dpkg --add-architecture i386
apt
-get update
apt
-get install libstdc++5:i386 libstdc++6:i386 libmysqlclient-dev:i386 g++-multilib git
git 
clone https://github.com/voron00/libcod
cd libcod
./doit.sh cod2_1_3