[syslog-ng]Error when compiling with tcp-wrappers

Balazs Scheidler bazsi@balabit.hu
Tue, 23 Apr 2002 14:16:28 +0200


On Mon, Apr 22, 2002 at 03:19:23PM -0700, Jim Gifford wrote:
> When I compile with the option --enable-tcp-wrapper, I get the following
> error.
> 
> afinet.o: In function `do_open_afinet_connection':
> afinet.o(.text+0x38b): undefined reference to `request_init'
> afinet.o(.text+0x394): undefined reference to `sock_host'
> afinet.o(.text+0x39c): undefined reference to `hosts_access'
> collect2: ld returned 1 exit status

you are not linked against -lwrap for some reason.

do you have an /usr/lib/libwrap.so or /lib/libwrap.so ?

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1