PDA

View Full Version : [64-bit] Loki Installer guide


Cappy
January 14th, 2008, 07:11 PM
First, make sure the libc6 libraries are installed to avoid problems.
sudo apt-get install ia32-libs libc6 libc6-i386

This guide will help if you get messages such as Unable to find file /bin/Linux/x86/glibc-2.0/installer
or

This installation doesn't support glibc-2.0 on Linux / unknown
The setup program seems to have failed on unknown/glibc-2.0


----

Solution 1:
Try SETUP_LIBC=glibc-2.1
linux32 ./loki_installer.run first. If that fails continue on:

Solution 2:
./loki_installer.run --target new_loki_dir
cd 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
./setup.sh


Replace "glibc-2.1" with whatever glibc it wants. You will still get the same errors during the extraction but it will extract.

You can use ./loki_installer.run --help on a loki installer to see the correct syntax for extracting it without installing it.

robeast
May 6th, 2008, 09:00 PM
Thanks for the guide! I just successfully installed Alpha Centauri based on your second error's first solution (simply using linux32). It also took me a minute to realize that it was trying to install the loki updater and loki uninstaller first, which both produced errors. Finally I just let it continue anyway and it installed Alpha Centauri fine.

Now if I could only get Alpha Centauri to run properly...

Vadi
June 16th, 2008, 12:23 PM
Note that on Ubuntu 8.04 I got a "The setup program seems to have failed on x86_64/glibc-2.1" message. The solution to problem 1 helped.

Vadi
July 6th, 2008, 10:28 AM
And thanks again Cappy, had to use this on the Ankh 2 demo as well.