[syslog-ng] syslog-ng 2.0.3 static link build error

Balazs Scheidler bazsi at balabit.hu
Thu Mar 29 09:35:24 CEST 2007


On Wed, 2007-03-28 at 12:01 -0700, Evan Rempel wrote:
> Under linux (redhat AS 4) if I statically link without spoofsource I can the following
> build error
> 
> % ./configure --enable-static-linking --enable-spoof-source=no
> % make
> [snip]
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libwrap.a(hosts_access.o)(.text+0xc08): In function `host_match':
> : undefined reference to `yp_get_default_domain'
> collect2: ld returned 1 exit status
> 
> 
> glibc is a little old on this machine
> glibc-2.3.4-2.25
> glibc-headers-2.3.4-2.25
> glibc-devel-2.3.4-2.25
> but that is what Redhas ships, so I would rather not update it.
> 
> The question is "Why does a static link require a yellow pages routine?"

because libwrap depends on it. disable tcp wrapper support.

-- 
Bazsi



More information about the syslog-ng mailing list