Find the answer to your Linux question:
Results 1 to 4 of 4
I am having issues with oracle 9.2.0.4 install. Here is my background: rhel3 64bit update 4 for x86-64 uname -a Linux oi 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:53:57 EST ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    1

    Oracle 9i 9.2.0.4 install on x86_64


    I am having issues with oracle 9.2.0.4 install. Here is my background:

    rhel3 64bit update 4 for x86-64

    uname -a
    Linux oi 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:53:57 EST 2004 x86_64 x86_64 x86_64 GNU/Linux

    I have installed all compat-db libraries listed on http://www.puschitz.com/InstallingOr...allationErrors

    I have recompiled libcwait.c as suggested and ldconfig -p shows its loaded

    [root@oi root]# ldconfig -p |grep libcwait
    libcwait.so (libc6) => /home/oracle/libcwait.so


    Bash profile

    [root@oi root]# cat /home/oracle/.bash_profile
    # .bash_profile

    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi

    # User specific environment and startup programs

    PATH=$PATH:$HOME/bin

    export PATH
    unset USERNAME

    # Set the LD_ASSUME_KERNEL environment variable only for Red Hat 9,
    # RHEL AS 3, and RHEL AS 4 !!
    # Use the "Linuxthreads with floating stacks" implementation instead of NPTL:
    export LD_ASSUME_KERNEL=2.4.1 # for RH 9 and RHEL AS 3
    export JAVA_HOME=/usr/local/java

    # Oracle Environment
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
    export ORACLE_SID=test
    export ORACLE_TERM=xterm
    # export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    export NLS_LANG=AMERICAN;
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/lib:/usr/lib:/lib64:/usr/X11R6/lib:/usr/X11R6/lib64:/usr/kerberos/lib:/usr/kerberos/lib64:/usr/local/lib
    #export LD_PRELOAD=/home/oracle/libcwait.so

    # Set shell search paths
    export PATH=$PATH:$ORACLE_HOME/bin

    # CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    # CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
    # export CLASSPATH


    When I run ./runInstaller I get 65% through the install and get the following error:

    "error in invoking target relink of makefile /u01/app/oracle/product/9.2.0/precomp/lib/ins_precomp.mk"

    I check the make.log and see the following

    tail -100 /u01/app/oracle/product/9.2.0/install/make.log
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s oraca.cob ORACA.COB)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s sqlca.for SQLCA.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s oraca.for ORACA.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s bnddsc.for BNDDSC.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s seldsc.for SELDSC.FOR)
    /usr/bin/make -f ins_net_client.mk nnfgt.o ORACLE_HOME =/u01/app/oracle/product/9.2.0
    (if [ "compile" = "compile" ] ; then \
    /u01/app/oracle/product/9.2.0/bin/gennfgt > nnfgt.c ;\
    gcc -c nnfgt.c ;\
    rm -f /u01/app/oracle/product/9.2.0/lib/nnfgt.o ;\
    mv nnfgt.o /u01/app/oracle/product/9.2.0/lib/ ;\
    /usr/bin/ar rv /u01/app/oracle/product/9.2.0/lib/libn9.a /u01/app/oracle/product/9.2.0/lib/nnfgt.o ; fi)
    r - /u01/app/oracle/product/9.2.0/lib/nnfgt.o
    (if [ "compile" = "assemble" ] ; then \
    /u01/app/oracle/product/9.2.0/bin/gennfgt > nnfgt.s ;\
    /usr/bin/as -o nnfgt.o nnfgt.s ;\
    rm -f /u01/app/oracle/product/9.2.0/lib/nnfgt.o ;\
    mv nnfgt.o /u01/app/oracle/product/9.2.0/lib/ ;\
    /usr/bin/ar rv /u01/app/oracle/product/9.2.0/lib/libn9.a /u01/app/oracle/product/9.2.0/lib/nnfgt.o ; fi)
    (if [ "compile" = "oratmp" ] ; then \
    /u01/app/oracle/product/9.2.0/bin/gennfgt > nnfgt.c ;\
    /lib/idcpp nnfgt.c oratmp.c ;\
    -i oratmp.c -o oratmp.s -f nnfgt.c ;\
    /usr/bin/as -o nnfgt.o oratmp.s ;\
    rm -f oratmp.c oratmp.s ;\
    rm -f /u01/app/oracle/product/9.2.0/lib/nnfgt.o ;\
    mv nnfgt.o /u01/app/oracle/product/9.2.0/lib/ ;\
    /usr/bin/ar rv /u01/app/oracle/product/9.2.0/lib/libn9.a /u01/app/oracle/product/9.2.0/lib/nnfgt.o ; fi)
    (if [ "compile" = "binary" ] ; then \
    /u01/app/oracle/product/9.2.0/bin/gennfgt > nnfgt.c ;\
    TARGET_BINARY_INTERFACE= ;\
    export TARGET_BINARY_INTERFACE ;\
    gcc -c nnfgt.c ;\
    -rm -f /u01/app/oracle/product/9.2.0/lib/nnfgt.o ;\
    -mv nnfgt.o /u01/app/oracle/product/9.2.0/lib/ ;\
    /usr/bin/ar rv /u01/app/oracle/product/9.2.0/lib/libn9.a /u01/app/oracle/product/9.2.0/lib/nnfgt.o ; fi)
    /usr/bin/make -f ins_rdbms.mk ctx_on ORACLE_HOME=/u01/app/oracle/product/9.2.0
    /usr/bin/ar cr /u01/app/oracle/product/9.2.0/rdbms/lib/libknlopt.a /u01/app/oracle/product/9.2.0/rdbms/lib/kciwcx.o
    /usr/bin/make -f ins_rdbms.mk sdo_on ORACLE_HOME=/u01/app/oracle/product/9.2.0
    /usr/bin/ar cr /u01/app/oracle/product/9.2.0/rdbms/lib/libknlopt.a /u01/app/oracle/product/9.2.0/rdbms/lib/kxmwsd.o
    /usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/u01/app/oracle/product/9.2.0
    /usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/u01/app/oracle/product/9.2.0
    /u01/app/oracle/product/9.2.0/bin/genclntsh
    /usr/bin/ld: skipping incompatible /u01/app/oracle/product/9.2.0/lib/libsql9.a when searching for -lsql9
    /usr/bin/ld: cannot find -lsql9
    collect2: ld returned 1 exit status
    cat: /tmp/clntst9.3620/*.nm: No such file or directory
    sort: open failed: /tmp/clntst9.3620/*.objs: No such file or directory
    Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
    ar -M [<mri-script]
    commands:
    d - delete file(s) from the archive
    m[ab] - move file(s) in the archive
    p - print file(s) found in the archive
    q[f] - quick append file(s) to the archive
    r[ab][f][u] - replace existing or insert new file(s) into the archive
    t - display contents of archive
    x[o] - extract file(s) from the archive
    command specific modifiers:
    [a] - put file(s) after [member-name]
    [b] - put file(s) before [member-name] (same as [i])
    [N] - use instance [count] of name
    [f] - truncate inserted file names
    [P] - use full path names when matching
    [o] - preserve original dates
    [u] - only replace files that are newer than current archive contents
    generic modifiers:
    [c] - do not warn if the library had to be created
    [s] - create an archive index (cf. ranlib)
    [S] - do not build a symbol table
    [v] - be verbose
    [V] - display the version number
    emulation options:
    No emulation specific options
    ar: supported targets: elf64-x86-64 elf32-i386 a.out-i386-linux efi-app-ia32 elf64-little elf64-big elf32-little elf32-big srec symbolsrec tekhex binary ihex
    Created /u01/app/oracle/product/9.2.0/lib/libclntst9.a
    cp: cannot stat `/DISCARD/': No such file or directory
    Created /u01/app/oracle/product/9.2.0/lib32/libclntst9.a
    /u01/app/oracle/product/9.2.0/bin/genagtsh /u01/app/oracle/product/9.2.0/lib/libagtsh.so 1.0
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x0): multiple definition of `ntcontab'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x0): first defined here
    ld: warning: i386 architecture of input file `/u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)' is incompatible with i38686-64 output
    ld: warning: i386 architecture of input file `/u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)' is incompatible with i38686-64 output
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x4): undefined reference to `nttini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x14): undefined reference to `ntzini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x24): undefined reference to `ntrini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x34): undefined reference to `ntpini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x44): undefined reference to `ntusini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x4): undefined reference to `nttini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x14): undefined reference to `ntzini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x24): undefined reference to `ntrini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x34): undefined reference to `ntpini'
    /u01/app/oracle/product/9.2.0/lib/libn9.a(ntcontab.o)(.data+0x44): undefined reference to `ntusini'
    /usr/bin/make -f ins_precomp.mk relink ORACLE_HOME=/u01/app/oracle/product/9.2.0 EXENAME=ott8
    Linking /u01/app/oracle/product/9.2.0/precomp/lib/ott8
    /usr/bin/ld: skipping incompatible /u01/app/oracle/product/9.2.0/lib//libpls9.a when searching for -lpls9
    /usr/bin/ld: cannot find -lpls9
    collect2: ld returned 1 exit status
    /bin/chmod: failed to get attributes of `/u01/app/oracle/product/9.2.0/precomp/lib/ott8': No such file or directory
    make: *** [/u01/app/oracle/product/9.2.0/precomp/lib/ott8] Error 1

    I have been unable to find any good documents for 64-bit oracle install on x86_64 amd rhel3 update 4, any help would be greatly appreciated!

    Thanks
    James
    jlabocki@everstream.com

  2. #2
    Just Joined!
    Join Date
    Jul 2005
    Posts
    2
    Hi James,

    I am having the exact same problem. If you find the solution outside of this forum, can you please post it here. I will do the same if I'm able to resolve it.

    Thanks!

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Posts
    2

    Oracle 9i 9.2.0.4 install on x86_64

    I finally got it to work. Use gcc323 and g++323, not gcc296 and g++296 as the install instructions say.

    Bruce

  4. #4
    Just Joined!
    Join Date
    Jun 2006
    Posts
    1
    I am installing Oracle 9.2.0.4 on Fedora 3 and the install has been successful. However, during the linkage I am getting a popup box with the message

    Error in invoking target install of makefile /home/oracle/db/9.2.0.4/plsql/lib/ins_plsql.mk

    According to http://www.puschitz.com/InstallingOr...allationErrors

    this should not happen in Oracle 9.2 (http://www.puschitz.com/InstallingOr...allationErrors)

    "I did not experience this problem with Oracle 9i (9.2.0), but only with Oracle 9i (9.0.1)."

    Yet this is happening for me.

    I still followed the instructions to modify genclntsh

    LD_SELF_CONTAINED="-z defs"
    to read:
    LD_SELF_CONTAINED=""

    and as per the instuctions I was logged in as oracle and not root

    I did a gcc -v and I got

    gcc version = 3.4.2 20041017

    uname -r returns

    2.6.9-1.667

    Please advise

    Thank You

    Shariq

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •