This content has been marked as final. Show 15 replies
A good doc about how to install Oracle 10g on FC4, http://www.puschitz.com/InstallingOracle10g.shtml
Hope it works for you.
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.
Can you post all errors from $ORACLE_HOME/install/make.log file?
Here's the relevant bit:
The full log is available here http://rapidshare.com/files/107903943/make.log.html
- 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: 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: *** [/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/nmccollector] Error 1 make: Leaving directory `/oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib' make: *** [nmccollector] Error 2
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.
What do the commands:
$ file /oracle/u01/app/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o
$ file /oracle/u01/app/oracle/product/10.2.0/db_1/lib/libxml10.a
report? Trouble mixing distros like this is quite common.
/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
but I'm guessing the second one isn't what you really wanted so I did:
/oracle/u01/app/oracle/product/10.2.0/db_1/lib/libxml10.a: current ar archive
lpxv.o was the first object file inside the .a file. All the others I tried were also x86_64.
$ 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
When you say "mixing distros" what do you mean? Do you mean installing onto unsupported distros like Fedora?
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.
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.
Hi. I've got the very same problem. Any solutions? Or should I give up...
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.
I'll try to do fresh install on FC8 (x86_64) tonight and I'll post the result here.
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:
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.
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.
Edited by: user9937506 on 11 févr. 2010 03:35
Edited by: user9937506 on 11 févr. 2010 04:05