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

Evan Rempel erempel at uvic.ca
Wed Mar 28 21:01:46 CEST 2007


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?"

Evan Rempel.

Balazs Scheidler wrote:
> Dear syslog-ng users,
> 
> I've uploaded syslog-ng 2.0.3, the latest stable release in the
> syslog-ng 2.0 branch to our webserver. The list of changes is summarized
> below.
> 
> The source is available at the usual places at
> http://www.balabit.com/products/syslog-ng/



More information about the syslog-ng mailing list