Saturday, June 04, 2005

Install Oracle 9i on FC3 (Fedora Core 3)

By following this tutorial here
i've installed oracle 9i on my FC3

Errors that happened to me:
1.
Unable to load native library: /tmp/OraInstall2003-10-25_03-14-57PM/jre/lib/i386/libjava.so:
symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6


This error fixed by adding the libcwait.so path to /etc/ld.so.preload

2.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-06-04_12-23-54PM/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1335)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:41)
at sun.awt.DebugHelper.(DebugHelper.java:29)
at java.awt.Component.(Component.java:356)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)


This one can be fixed by installing the openmotif rpm that depends on the xorg-x11-deprecated-libs rpm that contains the libXp.so.6 file.

No comments: