[syslog-ng] undefined reference to `libnet_init'

Balazs Scheidler bazsi at balabit.hu
Fri May 25 20:16:42 CEST 2007


On Fri, 2007-05-25 at 11:15 -0400, Tim Boyer wrote:
> > 
> > strange, libnet seems to be found, but it is not added to the linker
> > command line. Can you check if libnet-config script is found 
> > and prints
> > something if you execute:
> > 
> > $ libnet-config --libs
> > 
> > It should print something like:
> > -lnet
> > 
> 
> It's not in my path, but
> 
> [root at challenger syslog-ng-2.0.3]# /usr/src/libnet/libnet-config --libs
> -lnet


Can you try adding that directory to your path, or pass
--with-libnet=/usr/src/libnet to the configure script?


-- 
Bazsi



More information about the syslog-ng mailing list