Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 13:33:11 +0100
From:      "Scheller, Roland" <Scheller.R@icg-online.de>
To:        <freebsd-database@freebsd.org>
Subject:   Oracle 10g installation problem
Message-ID:  <78CDA1D4132EF34DBCC57F2C0C3CA7DC0A3955@icg-pc010.intern.icg-online.de>

next in thread | raw e-mail | index | archive | help
Hello

I tried to install Oracle Standard Edition on FreeBSD 5.3-RELEASE using
linux emulation.

Installation shows error messages as follows:

1.=20
----------------------------snip----------------------------------
UnsatisfiedLinkError exception loading native library: njni10 Exception
in thread "main" java.lang.UnsatisfiedLinkError: jniGetOracleHome
        at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
        at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
        at oracle.net.common.NetProperties.<init>(Unknown Source)
        at oracle.net.common.NetProperties.getInstance(Unknown Source)
        at oracle.net.ca.CmdlineArgs.<init>(Unknown Source)
        at oracle.net.ca.InitialSetup.<init>(Unknown Source)
        at oracle.net.ca.NetCA.main(Unknown Source)

Configuration assistant "Oracle Net Configuration Assitant" failed.
----------------------------snip----------------------------------
I tried to ignore that and hoped to configure later...

2. When executing root.sh the following error message appears:
----------------------------snip----------------------------------
...
Now product-specific root actions will be performed.
/u01/app/oracle/product/10.1.0/Db_1/bin/crsctl.bin: error while loading
shared libraries: libclntsh.so.10.1: cannot open shared object file: No
such file or directory
/u01/app/oracle/product/10.1.0/Db_1/bin/clscfg: error while loading
shared libraries: libclntsh.so.10.1: cannot open shared object file: No
such file or directory Failed to initialize Oracle Cluster Registry for
cluster=20
----------------------------snip----------------------------------

In spite of these error messages the installation completed successful.

When I try to start netca from bash shell after install it brings same
error messages as mentioned above.

...
UnsatisfiedLinkError exception loading native library: njni10 ...

I tried to put a symlink from $ORACLE_HOME/lib/libnjni10.so
to$ORACLE_HOME/lib/libnjni10 but it did not change anything.

The file libclntsh.so.10.1 does not exist on the system, I just found
libclntsh.so.9.0.

Any solutions for my problem would be appreciated.


Thanks,

Roland Scheller


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78CDA1D4132EF34DBCC57F2C0C3CA7DC0A3955>