Home > Archive > Unix Programming > July 2007 > relocation error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| redbox 2007-07-23, 8:05 am |
| i install oracle Instant Client in my redhat 9.0 for oci devlping.
there is no problem in compliering a demo.
but when run it ,there is a error occur.as so
./a.out: relocation error: /usr/lib/oracle/10.2.0.3/client/lib/
libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined
in file libc.so.6 with link time reference
my google it ,but get nothing .
need your insight!
thank you !
| |
| Igmar Palsenberg 2007-07-23, 7:08 pm |
| redbox wrote:
> i install oracle Instant Client in my redhat 9.0 for oci devlping.
> there is no problem in compliering a demo.
> but when run it ,there is a error occur.as so
>
> ./a.out: relocation error: /usr/lib/oracle/10.2.0.3/client/lib/
> libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined
> in file libc.so.6 with link time reference
Your libc version is not version 2.3.3 or greater.
Try executing /lib/libc.so.6 :
> [igmar@ouzo ~]$ /lib/libc.so.6
> GNU C Library stable release version 2.5, by Roland McGrath et al.
> ....
to see what version you have.
Igmar
| |
| Paul Pluzhnikov 2007-07-23, 7:08 pm |
| redbox <guojianlee@gmail.com> writes:
> i install oracle Instant Client in my redhat 9.0 for oci devlping.
> there is no problem in compliering a demo.
> but when run it ,there is a error occur.as so
>
> ./a.out: relocation error: /usr/lib/oracle/10.2.0.3/client/lib/
> libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined
> in file libc.so.6 with link time reference
RH-9 shipped with GLIBC_2.3.2.
The libclntsh.so.10.1 library was linked on a GLIBC_2.3.3 system,
and will not work on an older version.
If Oracle says it should work on "straight" RH-9.0, then Oracle
goofed up.
If Oracle doesn't say that, then you goofed up: read their "system
requirements", install required OS/glibc patches, try again.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
| |
| Ben Bacarisse 2007-07-23, 7:08 pm |
| Igmar Palsenberg <igmar@palsenberg.local> writes:
> Try executing /lib/libc.so.6 :
>
>
> to see what version you have.
Excellent! All these years and I did not know you could do that!
--
Ben.
|
|
|
|
|