This weekend, I managed to setup Oracle 11g r1 on my little Gentoo box. Basically, installation is roughly the same as other distros (like RHEL). However, the following extra steps is needed:
- Before the installation (pre-install prep), create a symlink for libstc++.so.6
root> ln -s `gcc-config -L`/libstdc++.so.6 /usr/lib
- During installation, at the 'Linking executable' steps, you will encounter
an error which is something like "Failed to link sqlplus binary". At this moment,
update a make file included config:
root> cd $ORACLE_HOME root> sed -ie 's/$/ -lrt/' lib/sysliblist
After edited the file, click 'Retry' the installation should completed without any other problem.
When installation completed successfully, you should remove the libstdc++ symlink. - After the installation, create the rc scripts to manage
the Oracle instance (as well as the listener and EM as well).
While the rc scripts from Oracle administrator guide is not usable on Gentoo (as Gentoo has its own rc system), some Gentoo users have contributed their rc script which can be found on Gentoo Wiki.


1 comments:
Thanks a lot!
I was stuck at this linking point.
You comments and help was great and useful!
Post a Comment