Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> install problem: Oracle9i on Red Hat 7.1
Hello,
I recently tried to install Oracle9i on Linux and came across the following problems. Does anybody know what the cause of these could be? Did I do something wrong during installation. In particular I would like to know why I am getting:
sqlplus: error while loading shared libraries: libclntsh.so.9.0: cannot load shared object file: No such file or directory
Do I have the wrong version of Java installed or can I go with 1.3.1? Is Oracle based entirely on Java? Do I _have_ to use an older version of the Blackdown Java port?
Thanks,
Neil
# Login as root and do the following:
# Extract the three downloaded archives:
#
# for i in 1 2 3; do
# gunzip Linux9i_Disk$i.cpio.gz
# cpio -idmv < Linux9$i_Disk1.cpio
# done
# Check the Oracle documentation included in the Disk1 archive:
#
# netscape file:/usr/local/src/Disk1/doc/unixdoc/index.htm
# Install the Sun JDK downloaded RPM:
#
# rpm -ivh jdk-1.3.1_01.i386.rpm
# Create a symbolic link to the java package that was installed
# so that the Oracle Universal Installer may find it:
#
# ln -s /usr/java/jdk1.3.1_01 /usr/local/java
# Create Oracle groups and user.
/usr/sbin/groupadd -r dba # create the OSDBA user group /usr/sbin/groupadd -r oinstall # create the ORAINVENTORY user group /usr/sbin/useradd -g oinstall -G dba -d /home/oracle -m -r oracle
# Create any directories and set the appropriate permissions:
/bin/mkdir /usr/local/oracle
/bin/chown oracle:dba /usr/local/oracle
# Place the following in the Oracle user's .bash_profile file:
umask 022
export ORACLE_BASE=/usr/local/oracle export ORACLE_HOME=/usr/local/oracle/product/9.0.1 export ORACLE_SID=start
# Now set the UNIX password for user oracle and login as oracle and
# as user oracle run the following script:
/usr/local/src/Disk1/runInstaller
I was hoping that all of this would go smoothly so that I would proceed to the post installation aspects but when the Oracle Universal Installer got to 64% I got the following error:
Error in invoking target install of makefile /usr/local/oracle/product/9.0.1/plsql/lib/ins_plsql.mk ... (Ignore...)
This error was followed by many other similar errors.
Running Oracle9 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /usr/local/oracle/product/9.0.1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ...
\nCreating /etc/oratab file...
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
At the end of all of this I try to run sqlplus from the command line and get:
$ sqlplus
sqlplus: error while loading shared libraries: libclntsh.so.9.0: cannot load shared object file: No such file or directory
What did I do wrong???
Thanks,
Neil Received on Mon Oct 08 2001 - 19:36:22 CDT