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

Re: Can we upload binaries using libc6 to hamm yet?

Philip Hands <phil@hands.com> writes:
> On the question of checking for installed packages in a /usr/bin/gcc script, how about if you just check for the presence of a file,
> rather than using dpkg -l.  i.e.:
>   if attempting_lib6_build
>     if test -e /lib/libc.so.6
>     then
>       do_libc6_build
>     else
>       # maybe use dpkg -l to check what is really going on
>       die_with_warning_about_missing_libc6
>     fi
>   fi
> The ``test -e'' should not be a significant overhead.
True, but this is the wrong file :-). All systems will have
/lib/libc.so.6 _and_ /lib/libc5-compat/libc.so.5 
The links we're talking about are :
 for libc6-dev: /usr/lib/libc.so
 for libc5-alt-dev: /usr/lib/libc5-compat/libc.so or
depending on which directory we chose for the alternative libc5


Helmut Geyer                                Helmut.Geyer@iwr.uni-heidelberg.de
public PGP key available :           finger geyer@saturn.iwr.uni-heidelberg.de

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: