[syslog-ng] Compilation error

Daniel Bartholomew plumcreek at gmail.com
Tue Jul 17 16:29:26 CEST 2007


On Tue, 2007-07-17 at 10:25 -0400, Tamer Tayea wrote:
> When I run make & make install , I get the following error 
> /usr/bin/ld: cannot find -lnet
> collect2: ld returned 1 exit status
> make[2]: *** [syslog-ng] Error 1
> make[2]: Leaving directory `/root/Desktop/slng/syslog-ng-2.0.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/Desktop/slng/syslog-ng-2.0.4'
> make: *** [all] Error 2
> 

You're probably missing the libnet1 development libraries. On Ubuntu you
can install them with:
sudo apt-get install libnet1-dev

For other distros, check your repositories, they should have something
similar.

-- 
Daniel Bartholomew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070717/3878b2c1/attachment.pgp


More information about the syslog-ng mailing list