This discussion is archived
1 2 Previous Next 15 Replies Latest reply: Feb 4, 2013 9:22 AM by Poli RSS

Installing 10g R2 on Fedora 8 x86_64

509634 Newbie
Currently Being Moderated
I'm trying to install Oracle 10.2.0.1 on Fedora 8 x86_64. I initially tried the 32bit version as I already had it downloaded from installing other machines. When I try to install that I get the following error:
/usr/bin/ld: skipping incompatible /oracle/u01/app/oracle/product/10.2.0/d
b_1/lib/libxml10.a when searching for -lxml10
/usr/bin/ld: cannot find -lxml10
I assumed that was because it's trying to link to a 64 bit executable with 32 bit libraries. So I decided I should use the x86_64 version. When I try to install that I get the following error:
/usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 output
...snip...
INFO: make: *** [nmccollector] Error 2
Where I wrote "...snip..." there were lots more errors that are the same but with different files.

I have several questions:
- Has anyone successfully installed Oracle on Fedora 8 x86_64? If so, how?
- Is there anything blindingly obvious that I'm missing, like packages that should be installed before running the Oracle installer? I think I've got everything off the list in the Oracle documentation.

Thanks
  • 1. Re: Installing 10g R2 on Fedora 8 x86_64
    bing - oracle Newbie
    Currently Being Moderated
    Hi,

    A good doc about how to install Oracle 10g on FC4, http://www.puschitz.com/InstallingOracle10g.shtml
    Hope it works for you.

    Bing
  • 2. Re: Installing 10g R2 on Fedora 8 x86_64
    509634 Newbie
    Currently Being Moderated
    That's the guide I've been using but it doesn't say anything about the kind of problems I've been having in the linking stage of the install.
  • 3. Re: Installing 10g R2 on Fedora 8 x86_64
    IvanKartik Oracle ACE
    Currently Being Moderated
    Can you post all errors from $ORACLE_HOME/install/make.log file?
  • 4. Re: Installing 10g R2 on Fedora 8 x86_64
    509634 Newbie
    Currently Being Moderated
    Here's the relevant bit:
     - Linking liborasdk
    /oracle/u01/app/oracle/product/10.2.0/db_1/bin/genorasdksh
    $Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $
    Generating FULL ORASDK library...
    Creating /oracle/u01/app/oracle/product/10.2.0/db_1/lib/liborasdk.so.10.2
    -rwxrwx--- 1 oracle oinstall 16386937 2008-04-16 09:55 liborasdk.so.10.2
    lrwxrwxrwx 1 oracle oinstall 17 2008-04-16 09:55 liborasdk.so -> liborasdk.so.10.2
    /usr/bin/make -f ins_rdbms.mk ipc_udp/rm -f /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libskgxp10.so
    cp /oracle/u01/app/oracle/product/10.2.0/db_1/lib//libskgxpu.so /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libskgxp10.so
    /usr/bin/make -f ins_emdb.mk collector ORACLE_HOME=/oracle/u01/app/oracle/product/10.2.0/db_1/make -f /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/ins_emdb.mk relink_exe EXENAME=nmccollector 
    make[1]: Entering directory `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib'
    gcc -o /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/nmccollector -L/oracle/u01/app/oracle/product/10.2.0/db_1/lib/ -L/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/     `cat /oracle/u01/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/oracle/u01/app/oracle/product/10.2.0/db_1/lib -lm    `cat /oracle/u01/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm   -L/oracle/u01/app/oracle/product/10.2.0/db_1/lib -Wl,-export-dynamic /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmccol.a /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a /oracle/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/libdsga10.a /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libserver10.a /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so    `cat /oracle/u01/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm 
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmccol.a(nmccole.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuft.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufw.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufu.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(snmcbufm.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuff.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(nmadbg.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(snmadbg.o)' is incompatible with i386:x86-64 output
    collect2: ld returned 1 exit status
    make[1]: *** [/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/nmccollector] Error 1
    make[1]: Leaving directory `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib'
    make: *** [nmccollector] Error 2
    The full log is available here http://rapidshare.com/files/107903943/make.log.html

    Edit: I've just found During oracle 10gR2 installation error 'invoking target 'collector'of make other post which seems to be the same problem but with no resolution. It does provide a way to get through the install, by skipping Enterprise Manager. I'd like to have EM though if possible.
  • 5. Re: Installing 10g R2 on Fedora 8 x86_64
    TommyReynolds Expert
    Currently Being Moderated
    What do the commands:

    $ file /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o

    and

    $ file /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libxml10.a

    report? Trouble mixing distros like this is quite common.
  • 6. Re: Installing 10g R2 on Fedora 8 x86_64
    509634 Newbie
    Currently Being Moderated
    /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
    and
    /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libxml10.a: current ar archive
    but I'm guessing the second one isn't what you really wanted so I did:
    $ ar -x /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libxml10.a
    $ file lpxv.o
    lgx.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
    lpxv.o was the first object file inside the .a file. All the others I tried were also x86_64.

    When you say "mixing distros" what do you mean? Do you mean installing onto unsupported distros like Fedora?
  • 7. Re: Installing 10g R2 on Fedora 8 x86_64
    TommyReynolds Expert
    Currently Being Moderated
    So, you have a 32-bit snmccolm.o object file and a 64-bit library (thanks for the catch).

    No mixing of architectures, please. Get a 32-bit version of the library. Install it like this:

    # rpm -ivh /path/to/32-bit/rpm

    and NOT like this:

    # rpm -Uvh /path/to/32-bit/rpm

    or you will delete the 64-bit version during the install.

    Yes, I meant mixing Fedora O/S versus OEL/RHAT apps and libs. Can sometimes be done, but it is rarely a one-button, no fuss deal.
  • 8. Re: Installing 10g R2 on Fedora 8 x86_64
    509634 Newbie
    Currently Being Moderated
    I don't understand why Oracle is shipping 32 bit code and trying to link to 64 bit code. Did Oracle not provide both of those files (snmccolm.o and libxml10.a)? Or are they part of the prerequisites and copied from /usr/lib(64)?

    I'm not sure but I think you might be getting confused with what I said in my first post in the thread. Just to clarify the XML error message was when I tried installing 32 bit Oracle on my 64bit OS (which should have worked as it can quite happily run 32 bit code). Everything I've posted after that was the 64 bit version of Oracle. Or does the code that's linking in "snmccolm.o" use the XML library?

    As far as I can tell, I already have all of the prerequisite RPMs (or Fedora equivalent) installed for both the i386 and x86_64 architectures.

    My best guess so far about this issue is that one of the build tools (gcc or something) has changed its behaviour with regards to multi-architecture stuff and that it needs an extra flag or something that the Oracle link scripts don't pass to it.
  • 9. Re: Installing 10g R2 on Fedora 8 x86_64
    634752 Newbie
    Currently Being Moderated
    Hi. I've got the very same problem. Any solutions? Or should I give up...
  • 10. Re: Installing 10g R2 on Fedora 8 x86_64
    509634 Newbie
    Currently Being Moderated
    I clicked the "Continue" (or something like that) button and everything seems to work. The point in the install that it's failing on is Enterprise Manager so the database should work fine. EM seems to work fine for me as well but I guess there is probably some feature(s) that will be broken somewhere.

    I would still like to find out how to fix the problem though.
  • 11. Re: Installing 10g R2 on Fedora 8 x86_64
    IvanKartik Oracle ACE
    Currently Being Moderated
    I'll try to do fresh install on FC8 (x86_64) tonight and I'll post the result here.
  • 12. Re: Installing 10g R2 on Fedora 8 x86_64
    IvanKartik Oracle ACE
    Currently Being Moderated
    Tested installation on Fedora 8 x86_64. I've got the same error during linking of nmccollector.
    In fact you don't need nmccollector as:
    1) you are installing Oracle on non certified system for Oracle so it will be not probably in production
    2) You can use "SQL Access" mode instead of "Memory Access" mode to check performance.

    So you can ignore this error. If you apply patchset 10.2.0.3 or 10.2.0.4 then relink of nmccollector will be succesfull.

    More about Memory Access Mode:
    http://www.oracle.com/technology/pub/articles/10gdba/nanda_10gr2dba_part2.html
    http://www.oracle.com/technology/pub/articles/10gdba/nanda_10gr2dba_part3.html
    http://tonguc.wordpress.com/2007/08/20/memory-access-mode-of-oracle-enterprise-manager/
  • 13. Re: Installing 10g R2 on Fedora 8 x86_64
    509634 Newbie
    Currently Being Moderated
    Thanks for your efforts in resolving this, I had no idea what nmccollector was and whether I could leave it broken. When we get round to patching our production system I will try patching my install as well.

    Thanks again for your help.
  • 14. Re: Installing 10g R2 on Fedora 8 x86_64
    753102 Newbie
    Currently Being Moderated
    Dears,

    I have written an [HOWTO installing Oracle 10g on Ubuntu Karmic 64 bits|http://www.makina-corpus.org/blog/how-install-oracle-10g-full-64-bits-version-not-xe-and-tora-gnu-linux-ubuntu-karmic-910-64-bits] which describes the problems your are facing here and provides solutions, fortunatly... :)

    Also, another great [howto installing oracle 10g on ubuntu|http://www.excession.org.uk/blog/installing-oracle-on-ubuntu-karmic-64-bit.html] can be found here.

    Best regards,

    Gael,

    Edited by: user9937506 on 11 févr. 2010 03:35

    Edited by: user9937506 on 11 févr. 2010 04:05
1 2 Previous Next