Re: Installation issue for x86 Oracle 10.2 on x86_64-suse-linux-10

Tom Corr <[email protected]>
Newsgroups gmane.linux.suse.oracle.general
Message-ID <[email protected]>
On Monday 11 February 2008, you wrote:
i wonder if you need to set some -m32 option somewhere to force the 64 bit GCC 
to compile a 32 bit application.

there are several ways to fix this.  one way is to just try to create an alias 
for cc, and the other way is to create a "wrapper" for the cc program.

option 1:  create an alias using the bash shell

alias cc='gcc -m32'

option 2: create a wrapper for the cc link in /usr/bin

su to root
cd /usr/bin

ls -l cc (my output is shown below)
	lrwxrwxrwx 1 root root 7 2007-10-13 22:45 cc -> gcc-4.2
	
mv cc cc.save
echo "gcc-4.2 -m32" >cc
chmod +x cc

Now try to relink your oracle client libraries, or reinstall.  Don't forget, 
when you are finished that you should undo your changes from above so that it 
does not effect other applications/programs that you try to install later.

Hope this helps.



> Dear All,
>
> I am facing issue with installation of x86 Oracle 10.2 on
> x86_64-suse-linux-10. I am getting the error at 62%.
>
> Error in invoking target 'client_sharedlib' of makefile
> /opt/oracle/product/10.2/db_1/network/lib/ins_net_clent.mk
>
> Here are the log files*
>
> oracle@suse10:~> tail -15 $ORACLE_HOME/install/make.log
>
> *          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a
> /opt/oracle/product/10.2/db_1/lib/nnfgt.o ; fi)
> (if [ "compile" = "binary" ] ; then \
>   /opt/oracle/product/10.2/db_1/bin/gennfgt > nnfgt.c ;\
>   TARGET_BINARY_INTERFACE= ;\
>   export TARGET_BINARY_INTERFACE ;\
>   /usr/bin/gcc  -c nnfgt.c ;\
>   -rm -f /opt/oracle/product/10.2/db_1/lib/nnfgt.o ;\
>   -mv nnfgt.o /opt/oracle/product/10.2/db_1/lib/ ;\
>           /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a
> /opt/oracle/product/10.2/db_1/lib/nnfgt.o ; fi)
> /usr/bin/make -f ins_net_client.mk client_sharedlib
> ORACLE_HOME=/opt/oracle/product/10.2/db_1//opt/oracle/product/10.2/db_1/bin
>/genclntsh
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld
>: skipping incompatible /opt/oracle/product/10.2/db_1/lib/libxml10.a when
> searching for -lxml10
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld
>: cannot find -lxml10
> collect2: ld returned 1 exit status
> genclntsh: Failed to link libclntsh.so.10.1
> make: *** [client_sharedlib] Error 1
>
>
> *oracle@suse10:~> tail -25
> /opt/oracle/oraInventory/logs/installActions2008-02-12_12-19-42AM.log*
>
> INFO: The output of this make operation is also available at:
> '/opt/oracle/product/10.2/db_1/install/make.log'
> INFO:
>
> INFO: Start output from spawned process:
> INFO: ----------------------------------
> INFO:
>
> INFO: /opt/oracle/product/10.2/db_1/bin/genclntsh
>
> INFO:
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld
>: skipping incompatible /opt/oracle/product/10.2/db_1/lib/libxml10.a when
> searching for -lxml10
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld
>: cannot find -lxml10
>
> INFO: collect2: ld returned 1 exit status
>
> INFO: genclntsh: Failed to link libclntsh.so.10.1
>
> INFO: make: *** [client_sharedlib] Error 1
>
> INFO: End output from spawned process.
> INFO: ----------------------------------
> INFO: Exception thrown from action: make
> Exception Name: MakefileException
> Exception String: Error in invoking target 'client_sharedlib' of makefile
> '/opt/oracle/product/10.2/db_1/network/lib/ins_net_client.mk'. See
> '/opt/oracle/oraInventory/logs/installActions2008-02-12_12-19-42AM.log' for
> details.
> Exception Severity: 1
>
> Thanks and Regards,
> Harun



-- 
To unsubscribe, email: [email protected]
For additional commands, email: [email protected]
Please see http://www.suse.com/oracle/ before posting
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.