Install issue -lwrap
David Blacka
davidb at verisignlabs.com
Tue Mar 22 17:31:57 EST 2005
Reid Torosian wrote:
> I'm trying to install rwhoisd 1.5.3.9 on Debian (woody). Here's the
> current roadblock I'm up against:
>
> making all in server
> make[1]: Entering directory `/home/rtorosia/rwhoisd-1.5.9.3/server'
> gcc -o rwhoisd class_directive.o daemon.o deadman.o directive.o
> display.o dump.o exit.o forward.o guardian.o holdconnect.o limit.o
> main.o notify.o referral.o register.o reg_ext.o reg_utils.o
> register_directive.o rwhois_directive.o schema_directive.o security.o
> security_directive.o session.o soa.o sresponse.o sschema.o sslave.o
> ssoa.o sstate.o state.o status.o sxfer.o xfer.o -L./tools/tcpd_wrapper
> -lwrap -L../mkdb -lmkdb -L../common -lrwcommon -L../regexp -lregexp
> -lresolv -lnsl -lcrypt /usr/bin/ld: cannot find -lwrap
> collect2: ld returned 1 exit status
> make[1]: *** [rwhoisd] Error 1
> make[1]: Leaving directory `/home/rtorosia/rwhoisd-1.5.9.3/server'
> make: *** [binaries] Error 1
>
> Is rwhoid looking for a particular install location or version of
> libwrap? Any other ideas of what could be wrong here?
This version of rwhoisd will either use the system supplied libwrap (if
it can find it) or an internal copy. You can force it to use the
internal copy via an option to ./configure (--with-local-libwrap).
Since you link statement contains "-L./tools/tcpd_wrapper -lwrap"
instead of just "-lwrap", it is definitely trying to use the local copy.
Which means that configure either didn't find libwrap or you specified
--with-local-libwrap. I can't tell the difference from here. In any
case, it looks like for some reason that the local version of libwrap
didn't build. There should be a ./tools/tcpd_wrapper/libwrap.a file.
Why that is, I cannot tell. It has certainly always built for me. Does
the main Makefile have "libwrap" as one of the targets for the 'all'
rule? i.e., a line like:
all: libraries libwrap binaries
?
--
David Blacka <davidb at verisignlabs.com>
Sr. Engineer VeriSign Applied Research
More information about the Rwhois
mailing list