>From [EMAIL PROTECTED] Tue Apr 11 16:06:10 2000
>> >> >Glibc 2.1 is back compatible to 2.0 but not vice versa
>> >> 
>> >> As binaries frum SuSE fail on Redhat and vice versa, this statement
>> >> is most likely not true.
>> 
>> >I am not seeing problems here although mostly I mix Debian and RH apps. Both
>> >of them seem totally interworking. Is your SuSE glibc 2.0 or 2.1 ?
>> 

>There is a signature:

>Just run
>objdump -p /lib/libc.so.6 | sed -n '/^Version definitions/,/^$/p'
>and you'll see.
>Alternatively, on both Red Hat and SuSE (and any other rpm based dist) you can do
>rpm -qf /lib/libc.so.6

So it seems that objdump should be similar to the UNIX dump command ???
Anyway, altough SuSE states that they are using 

shaky joerg 2 > objdump -p /lib/libc.so.6                                         

/lib/libc.so.6:     file format elf32-i386

Program Header:
    PHDR off    0x00000034 vaddr 0x00000034 paddr 0x00000034 align 2**2
         filesz 0x000000a0 memsz 0x000000a0 flags r-x
  INTERP off    0x000991a4 vaddr 0x000991a4 paddr 0x000991a4 align 2**0
         filesz 0x00000013 memsz 0x00000013 flags r--
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x000991b7 memsz 0x000991b7 flags r-x
    LOAD off    0x000991c0 vaddr 0x0009a1c0 paddr 0x0009a1c0 align 2**12
         filesz 0x00005f10 memsz 0x00012950 flags rw-
 DYNAMIC off    0x0009f048 vaddr 0x000a0048 paddr 0x000a0048 align 2**2
         filesz 0x00000088 memsz 0x00000088 flags rw-

Dynamic Section:
  NEEDED      ld-linux.so.2
  SONAME      libc.so.6
  INIT        0x161f0
  FINI        0x91520
  HASH        0xd4
  STRTAB      0xa360
  SYMTAB      0x2e40
  STRSZ       0x57f6
  SYMENT      0x10
  PLTGOT      0x9f320
  PLTRELSZ    0x14b0
  PLTREL      0x11
  JMPREL      0x12268
  REL         0xfb58
  RELSZ       0x2710
  RELENT      0x8
 
shaky joerg 2 > rpm -qf /lib/libc.so.6
shlibs-99.4.4-0

On a Redhat I get:

[jes@buruk ~]$ rpm -qf /lib/libc.so.6
glibc-2.1.3-15

So I would guess that there is not even a libc-2.0 on SuSE.
For this reason, I would suggest to force both, RedHad and SuSE
to increment the libc version nuber, use a libc-2.x based source
... and tell everybody to avoid linking to something called 
libc.so.6



J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to