Installing Oracle 11g on Ubunto 8.04 64bit
Installing Oracle 11g on Ubuntu 8.04 LTS (Hardy Heron) works well, but only discusses installing 11g on i386.
11G installation on AMD64 has many hints. Replacing /usr/bin/gcc with the following shell script makes the Oracle Installer work flawlessly:
#!/bin/sh if [ "$1" == "-m32" ]; then exec /usr/bin/gcc-4.2 -L/usr/lib32 $@ fi exec /usr/bin/gcc-4.2 $@