Adam Ambrose wrote:
> 
> Rachel Greenham wrote:
> 
> > Yes. That's the one I downloaded from netscape.com anyway, to my
> > recollection, that didn't work with the libc5 Acrobat plugin either, but
> > does with the newer presumably glibc one that's come out more recently.
> >
> > Is there an easy way I can verify this? (I know there's a command to run on
> > an executable to see what library dependencies it has, but I can't remember
> > what it is.)
> 
> 'ldd' is the command you want.
> 
> $ ldd `which netscape`
>         /lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x40013000)
>         libBrokenLocale.so.1 => /lib/libBrokenLocale.so.1 (0x4001d000)
>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4001f000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4006b000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40074000)
>         libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4008b000)
>         libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4009e000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400ac000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400b8000)
>         libdl.so.2 => /lib/libdl.so.2 (0x4015c000)
>         libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x4015f000)
>         libm.so.6 => /lib/libm.so.6 (0x401a0000)
>         libc.so.6 => /lib/libc.so.6 (0x401bc000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Apart from different hex numbers, this is the output I get.

> The 2nd to the last line there shows that this netscape is linked to
> /lib/libc.so.6, which is glibc.  To find the version of glibc,
> 
> $ ls -l /lib/libc.so.6
> lrwxrwxrwx   1 root     root           13 Dec 21 04:58 /lib/libc.so.6 ->
> libc-2.1.2.so

nope, /lib/libc.so.6 is a real file on this SuSE, but I'm pretty sure it's a
2.1.2 installation. The latest Blackdown JDK1.2.2RC4 works on it for one
thing, and there is a /lib/ld-2.1.2.so

-- 
Rachel


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to