First, make sure the libc6 libraries are installed to avoid problems.
This guide will help if you get messages such as
sudo apt-get install ia32-libs libc6 libc6-i386
Unable to find file /bin/Linux/x86/glibc-2.0/installer
This installation doesn't support glibc-2.0 on Linux / unknown
The setup program seems to have failed on unknown/glibc-2.0
first. If that fails continue on:
Replace "glibc-2.1" with whatever glibc it wants. You will still get the same errors during the extraction but it will extract.
./loki_installer.run --target new_loki_dir
mv setup.sh setupold.sh
sed 's/`DetectLIBC`/"glibc-2.1"/' setupold.sh | sed 's/`DetectARCH`/"x86"/' > setup.sh
chmod +x setup.sh
You can use
on a loki installer to see the correct syntax for extracting it without installing it.