This discussion is archived
11 Replies Latest reply: Jul 29, 2013 7:24 AM by user1545107 RSS

Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)

525517 Newbie
Currently Being Moderated
Hello people,

today I tried to install Oracle 10g R2 on a Red Hat ES 4 x86_64 server and got a lot
of problems current the installation progress...

I downloaded the 10201_database_linux_x86_64.cpio.gz from the oracle homepage
for my architecture and tried to start the runInstaller from the database directory.
The first annoyed thing is, that the installer needs some i386 libaries to start the
installer without problems. That seems to be bad if I use a 64 bit machine... but ok,
I installed the necessary i386 libaries with

# up2date --arch=i386 -i xorg-x11-libs
# up2date --arch=i386 -i xorg-x11-deprecated-libs

and runInstaller works fine. Current the installation progress i received the following
messages:

1.
Error in invoking target 'install' of makefile '/oracle/product/10g/ctx/lib/ins_ctx.mk'. See '/oracle/product/oraInventory/logs/installActions2006-07-28_12-32-28PM.log' for Details.

2.
Error in invoking target 'agent nmo nmb' of makefile '/oracle/product/10g/sysman/lib/ins_sysman.mk'. See '/oracle/product/oraInventory/logs/installActions2006-07-28_12-32-28PM.log' for Details.

3.
Error in invoking target 'all_no_orcl' of makefile '/oracle/product/10g/rdbms/lib/ins_rdbms.mk'. See '/oracle/product/oraInventory/logs/installActions2006-07-28_12-32-28PM.log' for Details.

I pressed 'continue' for each message and completet the installation.

For your information here the libraries that are recommended in the installtion
documentation from oracle:

PACKET-NAME REQUIRED PACKET CURRENT PACKET
----------- --------------- --------------
xscreensaver- xscreensaver-4.18-5.rhel4.2 xscreensaver-4.18-5.rhel4.10
glibc-common- glibc-common-2.3.4-2 glibc-common-2.3.4-2.19
compat-db- ---ok--- ---ok---
make- ---ok--- ---ok---
glibc- glibc-2.3.4-2 glibc-2.3.4-2.19
libstdc++-devel- libstdc++-devel-3.4.3-9.EL4 libstdc++-devel-3.4.5-2
pdksh- pdksh-5.2.14-30 pdksh-5.2.14-30.3
gcc- gcc-3.4.3-9.EL4 gcc-3.4.5-2
libstdc++- libstdc++-3.4.3-9.EL4 libstdc++-3.4.5-2
gnome-libs- ---ok--- ---ok---
control-center- control-center-2.8.0-12 control-center-2.8.0-12.rhel4.2
gcc-c++- gcc-c++-3.4.3-9.EL4 gcc-c++-3.4.5-2
sysstat- sysstat-5.0.5-1 sysstat-5.0.5-7.rhel4
binutils- binutils-2.15.92.0.2-10.EL4 binutils-2.15.92.0.2-18

# rpm -q libaio
libaio-0.3.105-2

That are all x86_64 packages - for sure - because I use RH ES 4 x86_64.

That seems to be ok or? At next I tried to start the dbca and got the following error
message:

java.lang.UnsatisfiedLinkError: /oracle/product/10g/lib32/libOsUtils.so: libgcc_s.so.1: 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:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.sysman.assistants.util.OsUtilsUnix.<init>(OsUtilsUnix.java:672)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at oracle.sysman.assistants.util.OsUtilsBase.constructInstance(OsUtilsBase.java:1416)
at oracle.sysman.assistants.util.OsUtilsBase.getOsUtils(OsUtilsBase.java:144)
at oracle.sysman.assistants.util.attributes.InitParamAttributes.initialize(InitParamAttributes.java:498)
at oracle.sysman.assistants.util.attributes.InitParamAttributes.<init>(InitParamAttributes.java:470)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:247)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)


Do you know what I can do to solv all this errors?

What i386 libraries I need specially. I searched for a complete list for all necessary
i386 libraries that are needed for 10g x86_64, but I couldn't find one.

Could you help me please?

Cheers,
Jonny
  • 1. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    IvanKartik Oracle ACE
    Currently Being Moderated
    libgcc_s.so.1: cannot open shared object file: No such file or directory
    libgcc_s.so.1 is included in libgcc package

    So try execute
    rpm -qa |grep libgcc
    to check whether package is installed on your system.
  • 2. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    525517 Newbie
    Currently Being Moderated
    # rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" | grep libgcc
    libgcc-3.4.5.2 (x86_64)
  • 3. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    IvanKartik Oracle ACE
    Currently Being Moderated
    /oracle/product/10g/lib32/libOsUtils.so

    This is 32bit library what automaticaly means it will be requesting 32bit libraries.
    So install libgcc i386...
  • 4. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    525517 Newbie
    Currently Being Moderated
    # up2date --arch=i386 -i libgcc
    # rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" | grep libgcc
    libgcc-3.4.5.2 (x86_64)
    libgcc-3.4.5.2 (i386)

    now both are installed and I get another error...

    # ./dbca
    UnsatisfiedLinkError exception loading native library: njni10
    Exception in thread "main" java.lang.UnsatisfiedLinkError: get
    at oracle.net.common.NetGetEnv.get(Native Method)
    at oracle.net.config.Config.getNetDir(Unknown Source)
    at oracle.net.config.Config.initConfig(Unknown Source)
    at oracle.net.config.Config.<init>(Unknown Source)
    at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
    at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:255)
    at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
    at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
    at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
    at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
    at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
    at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
  • 5. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    IvanKartik Oracle ACE
    Currently Being Moderated
    What is the contents of your $LD_LIBRARY_PATH?
    If $ORACLE_HOME/lib then try change to (or add) $ORACLE_HOME/lib32
  • 6. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    525517 Newbie
    Currently Being Moderated
    LD_LIBRARY_PATH was empty....

    # echo $ORACLE_HOME
    /oracle/product/10g

    # LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32

    # echo $LD_LIBRARY_PATH
    /oracle/product/10g/lib:/oracle/product/10g/lib32

    # dbca
    UnsatisfiedLinkError exception loading native library: njni10
    Exception in thread "main" java.lang.UnsatisfiedLinkError: get
    at oracle.net.common.NetGetEnv.get(Native Method)
    at oracle.net.config.Config.getNetDir(Unknown Source)
    at oracle.net.config.Config.initConfig(Unknown Source)
    at oracle.net.config.Config.<init>(Unknown Source)
    at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
    at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:255)
    at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
    at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
    at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
    at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
    at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
    at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)

    The same error! :(
  • 7. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    IvanKartik Oracle ACE
    Currently Being Moderated
    Error in invoking target 'install' of makefile '/oracle/product/10g/ctx/lib/ins_ctx.mk'. See '/oracle/product/oraInventory/logs/installActions2006-07-28_12-32-28PM.log' for Details.
    Error in invoking target 'agent nmo nmb' of makefile '/oracle/product/10g/sysman/lib/ins_sysman.mk'. See '/oracle/product/oraInventory/logs/installActions2006-07-28_12-32-28PM.log' for Details.
    Error in invoking target 'all_no_orcl' of makefile '/oracle/product/10g/rdbms/lib/ins_rdbms.mk'. See
    Did you fix these errors?
    libnjni10.so is one of the results of linking phase...
    To identify what caused the errors during linking check $ORACLE_HOME/install/make.log
  • 8. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    525517 Newbie
    Currently Being Moderated
    I searched the errors in make.log. Here are all 'Error' that I found:

    gcc -m32 -o ctxhx -L/oracle/product/10g/ctx//lib32/ -L/oracle/product/10g/lib32/ -L/oracle/product/10g/lib32/stubs/ /oracle/product/10g/ctx/lib/ctxhx.o -L/oracle/product/10g/ctx/lib/ -ldl -lm -lctxhx -Wl,-rpath,/oracle/product/10g/ctx/lib -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /oracle/product/10g/lib/sysliblist`
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    make: *** [ctxhx] Error 1

    gcc -o /oracle/product/10g/sysman/lib/libnmemso.so -m32 -Wl,--whole-archive -shared -L/oracle/product/10g/lib32/ -L/oracle/product/10g/sysman/lib32/ -L/oracle/product/10g/lib32/stubs/ -L/oracle/product/10g/lib32 -L/oracle/product/10g/sysman/lib32/ -Wl,-rpath,/oracle/product/10g/lib32:/oracle/product/10g/lib/:/oracle/product/10g/sysman/lib32/ /oracle/product/10g/sysman/lib32/libnmem.a /oracle/product/10g/sysman/lib32/libnmer.a /oracle/product/10g/sysman/lib32/libnmeu.a /oracle/product/10g/sysman/lib32/libnmt.a /oracle/product/10g/sysman/lib32/libnml.a /oracle/product/10g/sysman/lib32/libnmee.a /oracle/product/10g/sysman/lib32/libnmefmgr.a /oracle/product/10g/sysman/lib32/libnmevr.a /oracle/product/10g/sysman/lib32/libnmehu.a /oracle/product/10g/sysman/lib32/libnmehl.a /oracle/product/10g/sysman/lib32/libnmepm.a /oracle/product/10g/sysman/lib32/libnmedc.a /oracle/product/10g/sysman/lib32/libnmedt.a /oracle/product/10g/sysman/lib32/libnmedm.a /oracle/product/10g/sysman/lib32/libnmedr.a /oracle/product/10g/sysman/lib32/libnmeb.a /oracle/product/10g/sysman/lib32/libnmec.a /oracle/product/10g/sysman/lib32/libnmesched.a /oracle/product/10g/sysman/lib32/libnmectl.a /oracle/product/10g/sysman/lib32/libnmejc.a /oracle/product/10g/sysman/lib32/libnmej.a -L/oracle/product/10g/jdk/jre/lib/i386/client -L/oracle/product/10g/jdk/jre/lib/i386 -z lazyload -ljava -ljvm -lverify -z nolazyload -Wl,-rpath,/oracle/product/10g/lib32:/oracle/product/10g/lib/:/oracle/product/10g/sysman/lib32/:/oracle/product/10g/jdk/jre/lib/i386/client:/oracle/product/10g/jdk/jre/lib/i386 /oracle/product/10g/sysman/lib32/libnmeclumgr.a /oracle/product/10g/sysman/lib32/libnmecluster.a /oracle/product/10g/sysman/lib32/libnmexml.a -Wl,--no-whole-archive -lxml10 -lcore10 -lnls10 -lunls10 -lclntsh -lnnz10 -lpthread -lnsl -lm -ldl -Wl,-rpath,/oracle/product/10g/lib `cat /oracle/product/10g/lib32/sysliblist` -ldl -lm
    /usr/bin/ld: crti.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    make[1]: Leaving directory `/oracle/product/10g/sysman/lib'
    make[1]: *** [oracle/product/10g/sysman/lib/libnmemso.so] Error 1
    make: *** [libnmemso] Error 2

    gcc -m32 -o /oracle/product/10g/rdbms/lib/extproc32 -L/oracle/product/10g/rdbms/lib32/ -L/oracle/product/10g/lib32/ -L/oracle/product/10g/lib32/stubs/ /oracle/product/10g/rdbms/lib32/hormc.o /oracle/product/10g/rdbms/lib32/defopt.o /oracle/product/10g/rdbms/lib32/homts.o -lagtsh -lpls10 -lplp10 -lpthread -lclntsh -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 /oracle/product/10g/lib32/libgeneric10.a `cat /oracle/product/10g/lib32/sysliblist` -Wl,-rpath,/oracle/product/10g/lib -lm `cat /oracle/product/10g/lib32/sysliblist` -ldl -lm -L/oracle/product/10g/lib -lvsn10
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    make[1]: *** [oracle/product/10g/rdbms/lib/extproc32] Error 1
    make[1]: Leaving directory `/oracle/product/10g/rdbms/lib'
    make: *** [extproc32] Error 2
  • 9. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    525517 Newbie
    Currently Being Moderated
    hey cool, the dbca is running! I installed glibc-devel for i386

    # up2date --arch=i386 -i glibc-devel
    # rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" | grep glibc-devel
    glibc-devel-2.3.4.2.19 (i386)
    glibc-devel-2.3.4.2.19 (x86_64)

    both packages are installed and I did a 'relink all' ... now the dbca runs fine!
    it is really necessary to install all recommended packages. on a metalink report
    i found the following description:

    ########################################
    * Red Hat Enterprise Linux AS 4 (Update 1 or newer)
    o Kernel 2.6.9-11.EL

    * Required OS Components (per Release Notes, and Quick Install Guide)
    o binutils-2.15.92.0.2-13.0.0.0.2.x86_64. This is a patched version of the "update 1" RPM, and may be downloaded at http://oss.oracle.com/projects/compat-oracle/files/RedHat/ .
    The patched version of the "update 2" RPM (binutils-2.15.92.0.2-15.0.0.0.2) may be downloaded at http://oss.oracle.com/projects/compat-oracle/dist/files/RedHat/ .
    The "update 3" RPM (binutils-2.15.92.0.2-18 (x86_64)) already contains the fix, and may be used.
    o libaio-0.3.103-3.i386.rpm
    o compat-db-4.1.25-9
    o control-center-2.8.0-12
    o gcc-3.4.3-22.1
    o gcc-c++-3.4.3-22.1
    o glibc-2.3.4-2
    o glibc-common-2.3.4-2
    o gnome-libs-1.4.1.2.90-44.1.x86_64.rpm
    o libstdc++-3.4.3-22.1
    o libstdc++-devel-3.4.3-22.1.x86_64.rpm
    o make-3.80-5
    o pdksh-5.2.14-30
    o sysstat-5.0.5-1
    o xscreensaver-4.18-5.rhel4.2



    * Additional Required OS Components (per this NOTE)
    o compat-libstdc++-33-3.2.3-47.3.x86_64.rpm
    o glibc-kernheaders-2.4-9.1.87.x86_64.rpm
    o glibc-headers-2.3.4-2.9.x86_64.rpm
    o libaio-0.3.103-3.x86_64.rpm
    o glibc-devel-2.3.4-2.9.x86_64.rpm
    o glibc-devel-2.3.4-2.9.i386.rpm
    o This list is based upon a "default-RPMs" installation of RHEL AS/ES 4 update 1. Additional RPMs may be needed if a "less-than-default-RPMs" installation of RHEL AS/ES 4 update 1 is performed.

    The x86_64 packages are on the Red Hat Enterprise Linux 4 x86-64 distribution. The i386 packages are also on the Red Hat Enterprise Linux 4 x86-64 distribution.

    ########################################

    thank you very much for your help!

    cheers,
    jonny
  • 10. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    501394 Newbie
    Currently Being Moderated
    I was hitting a wall trying to setup my RHEL 4 build for 10GR2. Thanks for all the info, this got me over the hump.

    Regards,
    Brian
  • 11. Re: Oracle 10g Release 2 on Red Hat ES 4 x86_64 (install problems)
    user1545107 Newbie
    Currently Being Moderated

    After installing

     

    yum install glibc-devel

    and creating symbolic link

    from /usr/bin

    mv gcc gcc.old

    mv g++ g++.old

     

    ln -s gcc32 gcc

    ls -s g++32 g++

     

    I able to solve this issue

     

    Regards

    B. Rathinakumar (rathinakumarb@gmail.com)