On 7/26/06, Alexander Farber <[EMAIL PROTECTED]> wrote:
# ~/FMS_2_0_2_r51_linux/fmsini
~/FMS_2_0_2_r51_linux/fmsini: relocation error: /RHEL4/libc.so.6:
symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file
ld-linux.so.2 with link time reference

I've found that symbol in /lib/ld-linux.so.2 on Linux

# objdump -T /lib/ld-linux.so.2 | grep rtld_global_ro
00015ca0 g    DO .data.rel.ro   000001cc  GLIBC_PRIVATE _rtld_global_ro

but after I've copied ld-2.3.4.so into /usr/local/emul/redhat/lib
I get the next error :-(

# ~/FMS_2_0_2_r51_linux/fmsini
/home/afarber/FMS_2_0_2_r51_linux/fmsini: relocation error:
/RHEL4/libpthread.so.0: symbol errno, version GLIBC_PRIVATE not
defined in file libc.so.6 with link time reference

# objdump -T /emul/linux/lib/libc-2.3.2.so|grep errno
000f41a8 g    DF .text  000000e5  GLIBC_2.0   clnt_perrno
00127ec0 g    DO .bss   00000004  GLIBC_2.0   errno
00129aa4 g    DO .bss   00000004  GLIBC_2.0   h_errno
00127ec0 g    DO .bss   00000004 (GLIBC_2.0)  _errno
000ea560  w   DF .text  00000034  GLIBC_2.0   __h_errno_location
00015788  w   DF .text  00000034  GLIBC_2.0   __errno_location
00129aa4  w   DO .bss   00000004 (GLIBC_2.0)  _h_errno
000f4154 g    DF .text  00000054  GLIBC_2.0   clnt_sperrno

I've copied the file ld-2.3.4.so from the Linux PC (where FMS2 works),
but the error doesn't go away

# objdump -T /emul/linux/lib/libc-2.3.4.so | grep errno
000ea970 g    DF .text  00000106  GLIBC_2.0   clnt_perrno
00128340 g    DO .bss   00000004 (GLIBC_2.0)  _errno
00128340 g    DO .bss   00000004 (GLIBC_2.0)  errno
000de5d0 g    DF .text  00000031  GLIBC_2.0   __h_errno_location
00129f54 g    DO .bss   00000004 (GLIBC_2.0)  h_errno
00015610 g    DF .text  00000036  GLIBC_2.0   __errno_location
00129f54  w   DO .bss   00000004 (GLIBC_2.0)  _h_errno
000ea5b0 g    DF .text  00000085  GLIBC_2.0   clnt_sperrno

# ll /emul/linux/lib/libc.so.6
0 lrwxr-xr-x  1 root  wheel  13 Jul 26 18:20 /emul/linux/lib/libc.so.6
-> libc-2.3.4.so

Regards
Alex

Reply via email to