[syslog-ng] undefined reference to `libnet_init'
bazsi at balabit.hu
Fri May 25 16:42:54 CEST 2007
On Wed, 2007-05-23 at 11:49 -0400, Tim Boyer wrote:
> I'm doing my first install on a RHEL5 virtual machine. I've successfully
> installed syslog-ng on RHEL3, 4, and 5 before, and have a fairly detailed
> idea of what I need to do - install libnet; whoops, need eventlog first;
> install that, install syslog-ng-2.0.3.
> It worked fine on the xen host. On the xen client, I get:
> gcc -g -O2 -Wall -g -o syslog-ng main.o libsyslog-ng.a -lnsl -lrt
> -Wl,-Bstatic -lfl -L/lib64 -lglib-2.0 -L/usr/local/lib -levtlog -lwrap
syslog-ng did not link against libnet. either it did not find it, or
something went wrong in the configure script.
can you check/post config.log
More information about the syslog-ng