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

Bug#242122: No weak symbol for res_* on amd64.

On Sun, Apr 04, 2004 at 06:22:57PM -0400, Daniel Jacobowitz wrote:
> On Sun, Apr 04, 2004 at 11:50:15PM +0200, Kurt Roeckx wrote:
> > Package: libc6
> > Version: 2.3.2.ds1-11
> > 
> > It seems the weak symbols for res_* are missing on amd64.
> > 
> > in resolv/res_data.c there is:
> > #if SHLIB_COMPAT(libresolv, GLIBC_2_0, GLIBC_2_2)
> > weak_alias (__res_query, res_query);
> > 
> > It seems the "SHLIB_COMPAT(libresolv, GLIBC_2_0, GLIBC_2_2)"
> > returns false for some reason.  If I remove that #if then I
> > properly get the weak symbols.
> Why do you believe the weak symbols should be there?

It's a problem because configure doesn't find it anymore.  It
doesn't include resolv.h so it doesn't know that it gets changed
to __res_*.

I see 2 ways of fixing this, either fix all packages that depend
on libresolv or add the weak symbols.

PS: I've also found this post:


Reply to: