When compiling LPRng with tcp_wrapper support on a vanilla RedHat 6.0 box I get this error:
/bin/sh ../libtool --mode=link gcc -o lpd lpd.o liblpr.la -lwrap -lposix gcc -o .libs/lpd lpd.o .libs/liblpr.so -lwrap -lposix -Wl,--rpath -Wl,/opt/local/packages/LPRng-3.8.12/lib /usr/lib/libwrap.a(hosts_access.o): In function `host_match': hosts_access.o(.text+0x400): undefined reference to `yp_get_default_domain' collect2: ld returned 1 exit status make[1]: *** [lpd] Error 1 The solution is to pass "-lnsl" flag to libtool command. -akop ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
