I ran the following commands in sequence
rpm -ivh libnet-1.0.2a-2.i386.rpm
rpm -Uvh libnet-1.1.2.1-3.i386.rpm libnet-devel-1.1.2.1-3.i386.rpm
I didn`t get any errors from previous rpm commands..I am still getting same error .. any ideas? -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Daniel Bartholomew Sent: Tuesday, July 17, 2007 10:29 AM To: Syslog-ng users' and developers' mailing list Subject: RE: [syslog-ng] Compilation error 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