root.sh fails with libocci.so does not exist
Posted by John Hallas on January 22, 2009
Platform HP Itanium. Oracle 11g (220.127.116.11 installation).
Because an ANSI C compiler isn’t installed on all servers by default the genoccish script causes root.sh to fail. The problem only appears when running root.sh after an 18.104.22.168 or 22.214.171.124 installation
The error message is
Instructions that correct the issue are
The Oracle reference is bug 7651884 for 11gR1
There are a few options to resolve the issue
2) Use a workaround by editing genoccish script and then relinking after the installation is complete. This only needs to be done once and not after every patch or change (unless genoccish is overwritten which is unlikely)
3) If libocci is require then there are two solutions available from HP that are fully supported by Oracle development :-
1. Install the evaluation copy of the C++ compiler product. This trial version has all the functionality needed to relink applications, even after the evaluation period expires.
2. Use the aCC-Link product. Beginning with the 2008 releases of HP-UX 11i (v1, v2, and v3), there
is bundle installed with the core operating system environments called
HP-ACC-Link. This bundle contains the binary /usr/ccs/bin/aCC_link, which
properly re-links any C++ objects on any HP-UX platform.
I personally am in favour of 3(2) as I do not think it is best practise to ignore error messages (which could be hiding something else), we do not want any type of compiler on production servers and the edit genoccish option is a bit messy and time consuming, although it does work.