On Thu, Jan 13, 2000 at 01:31:54PM -0800, Guillermo Villasana Cardoza wrote:
> ld: 0706-006 Cannot find or open library file: -l resolv
>         ld:open(): No such file or directory

AIX doesn't have libresolv.a.

> > ./load qmail-remote control.o constmap.o timeoutread.o  timeoutwrite.o t
> >
> > imeoutconn.o tcpto.o now.o dns.o ip.o  ipalloc.o ipme.o quote.o ndelay.a
> > case.a
> > sig.a open.a  lock.a seek.a getln.a stralloc.a alloc.a substdio.a
> > error.a  str.a
> >  fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`

What's in load, dns.lib and socket.lib?

> > collect2: ld returned 8 exit status
> > ld: 0711-317 ERROR: Undefined symbol: __res_query
> > ld: 0711-317 ERROR: Undefined symbol: .__dn_expand
> > ld: 0711-317 ERROR: Undefined symbol: .__res_init
> > ld: 0711-317 ERROR: Undefined symbol: __res_search

They live in libc:

libc.a
../../../../../../../src/bos/usr/ccs/lib/libc/res_query.c f          -
.res_query           T     372076
.res_querydomain     T     371004
res_query            D     181752      12
res_querydomain      D     181728      12

-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
[EMAIL PROTECTED]  _/_/  _/_/_/      use Std::Disclaimer;

Reply via email to