[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Missing 2.2 version of __xstat64?
From: |
David Judson |
Subject: |
Missing 2.2 version of __xstat64? |
Date: |
Fri, 04 Apr 2003 22:00:00 -0600 |
I have some shared libraries that were linked on RedHat 7.2. (glibc 2.2).
They won't run on RedHat 8.0 (using latest available glibc) due to problems
with the 2.2 version of __xstat64.
Running ldd gives
$ ldd -r libxx.so
./libomega_io.so: /lib/ld-linux.so.2: version `GLIBC_2.2' not found
(required by ./libxx.so)
....
symbol __xstat64, version GLIBC_2.2 not defined in file ld-linux.so.2 with
link time reference (./libxx.so)
The required symbol seems to be in libc.
$ nm /lib/libc-2.3.2.so | grep __xstat64
000c8f34 t __GI___xstat64
000c8f34 t ___xstat64
000c8f34 t __old__xstat64
000c8f34 T __xstat64@@GLIBC_2.2
000c8f34 T address@hidden
and it's name matches the reference in our library
$ nm libxx.so | grep __xstat64
U __xstat64@@GLIBC_2.2
Curiously there is no GLIBC_2.2 symbol in ld-linux
$ nm /lib/ld-linux.so.2 | grep GLIBC
00000000 A GLIBC_2.0
00000000 A GLIBC_2.1
00000000 A GLIBC_2.3
00000000 A GLIBC_PRIVATE
but I find this difficult to understand because we have libraries with
other 2.2 symbol versions in them that are quite happy to run on RH 8.0.
We would like to have a single version of the shared library that can run
on RH 7.2 and 8.0. Is there some way we can get around this problem by
linking differently on 7.2?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Missing 2.2 version of __xstat64?,
David Judson <=