Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Errors linking components of 10gR2 on RedHat AS 4.0

Re: Errors linking components of 10gR2 on RedHat AS 4.0

From: NetComrade <netcomradeNSPAM_at_bookexchange.net>
Date: Thu, 15 Jun 2006 15:12:59 -0400
Message-ID: <n7c392hk9t3g5mp17m0c62358n4s33i8pf@4ax.com>


On Thu, 15 Jun 2006 14:36:45 -0400, NetComrade <netcomradeNSPAM_at_bookexchange.net> wrote:

>All,
>
>I am having trouble linking some pieces after install.. Everything
>else but intermedia links fine.. The file actually exists in
>/usr/lib64/, and I tried setting LD_LIBRARY_PATH to include it
>
>
> [FOT2_at_pluto ~]$relink client_sharedlib
> /u81/app/oracle/product/102/bin/genclntsh
> /usr/bin/ld: crti.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> genclntsh: Failed to link libclntsh.so.10.1
> /u81/app/oracle/product/102/bin/genagtsh
>/u81/app/oracle/product/102/lib/libagtsh.so 1.0
> /usr/bin/ld: crti.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
>
>There is nothing known about crti.o on metalink, or pretty much
>anywhere... And I am not really good at figuring out how to force
>linkers/compilers to look for files in proper places.
>

Tried copying (linking) it (crti.o) to /usr/lib... Oracle is definetely not looking in /usr/lib64

FOT2_at_pluto ~]$relink client_sharedlib
 /u81/app/oracle/product/102/bin/genclntsh  /usr/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
 /usr/bin/ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread
 /usr/bin/ld: cannot find -lpthread
 collect2: ld returned 1 exit status
 genclntsh: Failed to link libclntsh.so.10.1  /u81/app/oracle/product/102/bin/genagtsh /u81/app/oracle/product/102/lib/libagtsh.so 1.0  /usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
 /usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
 /usr/bin/ld: cannot find -lc
 collect2: ld returned 1 exit status
.......
We run Oracle 9iR2,10gR1/2 on RH4/RH3
remove NSPAM to email Received on Thu Jun 15 2006 - 14:12:59 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US