[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about libc6-dev/shlibs



On Mon, 26 Jan 1998, Christian Schwarz wrote:

> 
> When writing and running the shlib check for lintian (cf. my other mail) I
> detected some special cases:
> 
> 1. The libc6-dev package installs a funny /usr/lib/libc.so file. Is this
> correct or a bug?

It's correct.  This is a stub file to convince the linker to do the
correct thing with statically including some routines not in the dynamic
library.

> 2. libc6' shlibs control file reads:
> 
> --cut-here--
> /lib/ld-linux   2       libc6
> ld-linux        2       libc6
> [...]
> --cut-here--
> 
> Thus, the `ld-linux' entry is included twice, and the first has a path
> specification. Is this correct?

Yes, this makes sure that dpkg-shlibs gets the dependancy correcy.

> 3. ld-linux.so.2 seems to be linked against itself! Is this correct?
> 
> $ ldd /lib/libc.so.6
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

Yes, libc6 should be linked against ld-linux.so.2, ld-linux itself is
statically linked.

-- 
Scott K. Ellis <storm@gate.net>                 http://www.gate.net/~storm/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: