Re: Oracle 10gR2 Installation Linking Problem

From: Shakespeare <whatsin_at_xs4all.nl>
Date: Thu, 17 Apr 2008 18:05:44 +0200
Message-ID: <4807754c$0$14358$e4fe514c@news.xs4all.nl>

"SLE" <sebastien.lelievre_at_invalid-mail-do-not-reply.fr> schreef in bericht news:fu6vks$dut$1_at_s1.news.oleane.net...
> Greetings,
>
> OUI stalls with an error during the Linking Oracle step.
>
> Configuration is Intel Xeon Dual Core with a Linux 64 bits and Oracle
> 10gR2 Enterprise for x86_64 platforms
>
> here is the fragment of my installActions log (sorry, most in french) :
> INFO: /usr/bin/ld: skipping incompatible
> /home/oracle/product/10.2.0/db_1/lib//libctxs10.a when searching for
> -lctxs10
> /usr/bin/ld: skipping incompatible
> /home/oracle/product/10.2.0/db_1/lib/libctxs10.a when searching
> for -lctxs10
> /usr/bin/ld: cannot find -lctxs10
>
> INFO: collect2: ld returned 1 exit status
>
> INFO: make: *** [ctxload] Error 1
>
> INFO: Arrêter la sortie à partir du processus généré dynamiquement.
> INFO: ----------------------------------
> INFO: Exception provoquée par l'action : make
> Nom de l'exception : MakefileException
> Chaîne de l'exception : Erreur lors de l'appel de la cible 'install' du
> fichier Make '/home/oracle/product/10.2.0/db_1/ctx/lib/ins_ctx.mk'. Pour
> plus de détails, reportez-vous à
> '/home/oracle/oraInventory/logs/installActions2008-04-17_08-36-40AM.log'.
> Gravité de l'exception : 1
>
> here is the command output launched from a terminal :
> ~$ make -f /home/oracle/product/10.2.0/db_1/ctx/lib/ins_ctx.mk install
> gcc -o ctxload -L/home/oracle/product/10.2.0/db_1/ctx/lib/
> -L/home/oracle/product/10.2.0/db_1/lib/
> -L/home/oracle/product/10.2.0/db_1/lib/stubs/
> /home/oracle/product/10.2.0/db_1/ctx/lib/sdrz.o -lctxs10 -lctx10
> -lctxs10 -lzx10 -lgx10 -lctx10 -lzx10 -lgx10
> /home/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -lclntsh `cat
> /home/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10
> -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
> /home/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10
> -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10
> -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10
> -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10
> -lcore10 -lnls10 `cat /home/oracle/product/10.2.0/db_1/lib/ldflags`
> -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
> /home/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10
> -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10
> -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10
> -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10
> -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10
> -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10
> -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat
> /home/oracle/product/10.2.0/db_1/lib/sysliblist`
> -Wl,-rpath,/home/oracle/product/10.2.0/db_1/lib -lm `cat
> /home/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm
> -L/home/oracle/product/10.2.0/db_1/lib
> /usr/bin/ld: skipping incompatible
> /home/oracle/product/10.2.0/db_1/lib//libctxs10.a when searching for
> -lctxs10
> /usr/bin/ld: skipping incompatible
> /home/oracle/product/10.2.0/db_1/lib/libctxs10.a when searching
> for -lctxs10
> /usr/bin/ld: cannot find -lctxs10
> collect2: ld returned 1 exit status
> make: *** [ctxload] Error 1
>
> What am I missing ? Do you need any more infos ?
>
> Regards,
> --
> Sebastien

I have only some experience installing Oracle on Linux (x86-64) and don't see what exact linux you are using (I use SLES 9.3) so this suggestion may be not to the point, but did you set LD_ASSUME_KERNEL?

Also, when installing Oracle on 64 bits, you still have some 32-bits parts (I think even the installer is 32 bits). With SLES, I have to put the shell in 32bits mode to run the installer (linux32 bash).

I found this part with Google (the link is below it):

Before installing you have to be aware that linking the 32 bit version of oracle on a 64 bit architecture need some further steps. gcc and ld commands will generate 64 bit binaries and libraries giving you this kind of error during a "relink all":

      /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /app/oracle/product/10g/db_01/lib/libsql10.a when searching for -lsql10

which looks a lot like your message.

Found it at http://www.nextre.it/oracledocs/oracle10gonsles9amd64.html

Shakespeare Received on Thu Apr 17 2008 - 11:05:44 CDT

Original text of this message