lresolv Libraries?

lresolv Libraries?

Post by AdmFrod » Wed, 10 Feb 1999 04:00:00



Where would I find a version of the resolver libraries? I own the Slackware
CDs, but they didn't seem to get installed (at least, I can't find them). Any
advice? I need them for a compile.

Thanks in advance,
rt

 
 
 

lresolv Libraries?

Post by Ulrich Teiche » Wed, 10 Feb 1999 04:00:00



Quote:>Where would I find a version of the resolver libraries? I own the Slackware
>CDs, but they didn't seem to get installed (at least, I can't find them). Any
>advice? I need them for a compile.

You don't. The functions are in the libc. Just remove the -lresolve.

HTH,
Uli
--

Stormweg 24               |listening to: Spanish Bombs (The Clash), Windy (The
24539 Neumuenster, Germany|Decibels), Jackie (The Decibels)

 
 
 

lresolv Libraries?

Post by Bill Unr » Wed, 10 Feb 1999 04:00:00




>>Where would I find a version of the resolver libraries? I own the Slackware
>You don't. The functions are in the libc. Just remove the -lresolve.

Actually at least on redhat, they are in libresolv (no e at the end)
locate libresol
/lib/libresolv-2.0.7.so
/lib/libresolv.so.2
/usr/lib/libresolv.a
/usr/lib/libresolv.so
/usr/lib/libresolv_p.a
 
 
 

lresolv Libraries?

Post by Ulrich Teiche » Wed, 10 Feb 1999 04:00:00





>>>Where would I find a version of the resolver libraries? I own the Slackware
>>You don't. The functions are in the libc. Just remove the -lresolve.
>Actually at least on redhat, they are in libresolv (no e at the end)
>locate libresol
>/lib/libresolv-2.0.7.so
>/lib/libresolv.so.2
>/usr/lib/libresolv.a
>/usr/lib/libresolv.so
>/usr/lib/libresolv_p.a

arbas:/usr/lib> nm libc.so | grep res_query
0001d7b0 T res_query
0001dc60 T res_querydomain
arbas:/usr/lib> uname -a
Linux arbas 2.0.29 #23 Sun May 25 18:17:57 MEST 1997 i586
arbas:/usr/lib> ll libc*
-rw-r--r--   1 root     root      1090492 Nov 15  1996 libc.a
lrwxrwxrwx   1 root     root           14 May 19  1997 libc.so -> /lib/libc.so.5*

As you see on a libc5 system, they're in libc.

And on an glibc system they would be in libresolv:
arbas:/var/tmp/glibc/lib> nm libresolv.so.2 | grep res_query
00007010 T res_query
000074e0 T res_querydomain
arbas:/var/tmp/glibc/lib>

On what libc is slackware based now? Well, that could be left to the
original poster ;-)

Uli
--

Stormweg 24               |listening to: Spanish Bombs (The Clash), Windy (The
24539 Neumuenster, Germany|Decibels), Jackie (The Decibels)