Re: yp_get_default_domain not in glibc
"Eloy A. Paris" <eparis@ven.ra.rockwell.com> writes:
> Right, but it is also in libnss_nis. Which one should I link against
> when I build my Debian package?
Its definition is in libnsl, and you should link with libnsl.
femto[~]$ nm --dynamic /lib/libnsl.so.1 | grep yp_get
00002490 T yp_get_default_domain
femto[~]$ nm --dynamic /lib/libnss_nis.so.1 | grep yp_get
U yp_get_default_domain
No program should link with the libnss_* libraries. They are the Name
Service Switch modules and are linked in as needed.
Guy
--
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: