Install issue -lwrap
Reid Torosian
rtorosia at rackspace.com
Tue Mar 22 17:37:20 EST 2005
I did a straight ./configure. libwrap.a does indeed exist, as does
"all: libraries libwrap binaries" in the main Makefile. I tried
configure with --with-local-libwrap and make gave this:
Making
(cd tools/tcpd_wrapper; make REAL_DAEMON_DIR="/" LIBS="-lresolv -lnsl
-lcrypt " RANLIB=ranlib TLI= CC="gcc" EXTRA_CFLAGS="-DUSE_STRERROR"
config-check; \
make REAL_DAEMON_DIR="/" LIBS="-lresolv -lnsl -lcrypt " RANLIB=ranlib
TLI= CC="gcc" EXTRA_CFLAGS="-DUSE_STRERROR" libwrap.a)
make[1]: Entering directory
`/home/rtorosia/rwhoisd-1.5.9.3/tools/tcpd_wrapper'
make[1]: Leaving directory
`/home/rtorosia/rwhoisd-1.5.9.3/tools/tcpd_wrapper'
make[1]: Entering directory
`/home/rtorosia/rwhoisd-1.5.9.3/tools/tcpd_wrapper'
make[1]: Leaving directory
`/home/rtorosia/rwhoisd-1.5.9.3/tools/tcpd_wrapper'
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
Which to me looks exactly the same as before :(
David Blacka wrote:
> 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
>
> ?
>
--
Reid Torosian, Project Manager The Managed Hosting Specialist(TM)
Rackspace Managed Hosting <http://www.rackspace.com/>
9725 Datapoint Drive, Suite 100
San Antonio, TX 78229
Email:<rtorosia at rackspace.com> (w)210.447.4483 (f)210.447.4038
More information about the Rwhois
mailing list