Re: libc 6 or 5
>
> folks,
>
> i have to confess - i am somewhat confused over this issue.
> the reason it's come up right now is netscape, i get inconsistent
> results using either version....
>
> is there a definitive method for finding out which libc i am using?
Yes. It can vary per executable. The ldd command shows you which
libraries are used by an executable. On a bo system, I get
$ ldd /bin/ls
libc.so.5 => /lib/libc.so.5.4.33
This is using libc5
On a hamm system, I get
$ ldd /bin/ls
libc.so.6 => /lib/libc.so.6 (0x4000f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
This is using libc6, and the ld-linux.so.2 library.
> i am running debian hamm with a 2.0.34 kernel.
A hamm system is libc6, but you can run libc5 executables as wel. For
them to work you need to install some packages from hamm's oldlibs
section.
HTH,
Eric
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
Reply to:
- References:
- libc 6 or 5
- From: Daryl Williams <daryl.williams@sharewave.com>