probonopd
11/18/2017 - 5:11 PM

quasselcore-static on 64-bit hosts

quasselcore-static on 64-bit hosts

quasselcore-static is provided as a 32-bit binary. Using this script, we can run it on any Linux host.

FILE=$(wget -q "http://quassel-irc.org/pub/?C=M;O=D" -O - | grep  "quasselcore-static" | head -n 1 | cut -d '"' -f 6)
wget "http://quassel-irc.org/pub/$FILE"
wget http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i386_2.24-9ubuntu2.2_amd64.deb
bunzip2 quasselcore-static-*.bz2
ar x libc6-i386_*_amd64.deb data.tar.xz && rm libc6-i386_*_amd64.deb
xz -d data.tar.xz
tar xf data.tar && rm data.tar
mv usr/share/doc/libc6-i386/copyright libc6-i386.copyright
rm -rf etc/ lib/ usr/

cat > AppRun <<\EOF
#!/bin/bash
HERE="$(dirname "$(readlink -f "${0}")")"
"$HERE/lib32/ld-linux.so.2" --library-path "$HERE/lib32" "$HERE"/quasselcore-static-* "$@"
EOF
chmod +x AppRun

./AppRun

To configure, need to use Quassel-Client (not Quassel!) from https://github.com/probonopd/quassel/releases

Install https://github.com/magne4000/quassel-webserver