From: sagar.maheshwari on
Hello All,
I got the folowing Error when I install Oracle patch
p5337014_10203_LINUX.zip on linux.

>>Error in invoking target 'Client_sharedlib' of makefile ins_net_client.mk


When I execute "relink client_sharedlib" ,I got the following output..

/home/oracle/oracle/product/10.2.0/db_1/bin/genclntsh
/usr/bin/ld: skipping incompatible /home/oracle/oracle/product/10.2.0/
db_1/lib/libsql10.a when searching for -lsql10
/usr/bin/ld: cannot find -lsql10
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.10.1
make: ** [client_sharedlib] Error 1

Thanks in advance!
sagar

From: Vladimir M. Zakharychev on
On Aug 21, 9:13 am, sagar.maheshw...(a)daffodilsw.com wrote:
> Hello All,
> I  got the folowing Error when I install Oracle patch
> p5337014_10203_LINUX.zip on linux.
>
> >>Error in invoking target 'Client_sharedlib' of makefile ins_net_client.mk
>
> When I execute "relink client_sharedlib" ,I got the following output..
>
> /home/oracle/oracle/product/10.2.0/db_1/bin/genclntsh
> /usr/bin/ld: skipping incompatible /home/oracle/oracle/product/10.2.0/
> db_1/lib/libsql10.a when searching for -lsql10
> /usr/bin/ld: cannot find -lsql10
> collect2: ld returned 1 exit status
> genclntsh: Failed to link libclntsh.so.10.1
> make: ** [client_sharedlib] Error 1
>
> Thanks in advance!
> sagar

Linux flavor? Is it x86 or x86-64? Is Oracle 32-bit or 64-bit? Make
sure you installed proper architecture - it seems Oracle doesn't
support installing Oracle for Linux_x86 on Linux_x86-64. Can also be
that your initial installation is x86-64, but the patchset is for x86.
Metalink has a few notes that might be of help, namely 368365.1,
334329.1, 460969.1.

And by the way, latest patchset for 10.2 is 10.2.0.4, I would
recommend that you jump right to it.

Hth,
Vladimir M. Zakharychev
N-Networks, makers of Dynamic PSP(tm)
http://www.dynamicpsp.com

From: Mladen Gogala on
sagar.maheshwari(a)daffodilsw.com wrote:

> /usr/bin/ld: skipping incompatible /home/oracle/oracle/product/10.2.0/
> db_1/lib/libsql10.a when searching for -lsql10
> /usr/bin/ld: cannot find -lsql10
> collect2: ld returned 1 exit status
> genclntsh: Failed to link libclntsh.so.10.1
> make: ** [client_sharedlib] Error 1
>


You have somehow mixed 64 and 32 bit libraries. It says that your
ORACLE_HOME is incompatible.

--
http://mgogala.freehostia.com
From: sagar.maheshwari on
On Aug 21, 1:19 pm, Mladen Gogala <gogala.mla...(a)gmail.com> wrote:
> sagar.maheshw...(a)daffodilsw.com wrote:
> > /usr/bin/ld: skipping incompatible /home/oracle/oracle/product/10.2.0/
> > db_1/lib/libsql10.a when searching for -lsql10
> > /usr/bin/ld: cannot find -lsql10
> > collect2: ld returned 1 exit status
> > genclntsh: Failed to link libclntsh.so.10.1
> > make: ** [client_sharedlib] Error 1
>
> You have somehow mixed 64 and 32 bit libraries. It says that your
> ORACLE_HOME is incompatible.
>
> --http://mgogala.freehostia.com



when i install oracle enterprise(10.2.0.1) then two library made, lib
and lib32 ,and now i m update it by using patch.
now if it is mixed then what i do now??
From: sagar.maheshwari on
On Aug 21, 11:40 am, "Vladimir M. Zakharychev"
<vladimir.zakharyc...(a)gmail.com> wrote:
> On Aug 21, 9:13 am, sagar.maheshw...(a)daffodilsw.com wrote:
>
>
>
>
>
> > Hello All,
> > I  got the folowing Error when I install Oracle patch
> > p5337014_10203_LINUX.zip on linux.
>
> > >>Error in invoking target 'Client_sharedlib' of makefile ins_net_client.mk
>
> > When I execute "relink client_sharedlib" ,I got the following output..
>
> > /home/oracle/oracle/product/10.2.0/db_1/bin/genclntsh
> > /usr/bin/ld: skipping incompatible /home/oracle/oracle/product/10.2.0/
> > db_1/lib/libsql10.a when searching for -lsql10
> > /usr/bin/ld: cannot find -lsql10
> > collect2: ld returned 1 exit status
> > genclntsh: Failed to link libclntsh.so.10.1
> > make: ** [client_sharedlib] Error 1
>
> > Thanks in advance!
> > sagar
>
> Linux flavor? Is it x86 or x86-64? Is Oracle 32-bit or 64-bit? Make
> sure you installed proper architecture - it seems Oracle doesn't
> support installing Oracle for Linux_x86 on Linux_x86-64. Can also be
> that your initial installation is x86-64, but the patchset is for x86.
> Metalink has a few notes that might be of help, namely 368365.1,
> 334329.1, 460969.1.
>
> And by the way, latest patchset for 10.2 is 10.2.0.4, I would
> recommend that you jump right to it.
>
> Hth,
>    Vladimir M. Zakharychev
>    N-Networks, makers of Dynamic PSP(tm)
>    http://www.dynamicpsp.com- Hide quoted text -
>
> - Show quoted text -


Hi, Vladimir M. Zakharychev
My linux is x86-64.i
installed oracle enterprise(10.2.0.1) sucessfully.but my patch give
error.i don't know my patch is for x86_64 or x-86??how can i know this
thing??

thanks