Installing Oracle 11g (R2) on Gentoo

Installing Oracle 11g (R2) on an unsupported distribution (currently there are three supported ones - Oracle Enterprise Linux, Red Hat and SuSe) may be a bit of a problem - especially if the distribution is "progressive" i.e. contains fresh versions of different tools (compiler, libraries) and is not based on RPM packages. And both of these are true for Gentoo, so lets see what problems may occur during the installation (and how to solve them).

1