Τη Τρίτη, 15 Ιανουαρίου 2013 4:58:57 μ.μ. UTC+2, ο χρήστης dan (ddpbsd) έγραψε: > > On Tue, Jan 15, 2013 at 2:02 AM, Vasilis Tzimourtos > <[email protected]<javascript:>> > wrote: > > Hello to all OSSEC users! > > > > I was running till recently the OSSEC 2.6 and was sending alerts to a > > prelude installation. I am trying now to update it to the 2.7 version. > The > > installation script is working great but when i enable prelude support > > following the instructions in the manual i get the following error in > the > > installation script > > > > make[2]: Leaving directory > > `/opt/paketa/ossec/ossec-hids-2.7/src/analysisd/compiled_rules' > > gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" > -DUSE_OPENSSL > > -DUSEINOTIFY -DARGV0=\"ossec-analysisd\" -DXML_VAR=\"var\" > -DOSSECHIDS > > -I./ analysisd.c stats.c lists.c lists_list.c rules.c rules_list.c > config.c > > fts.c dodiff.c eventinfo.c eventinfo_list.c cleanevent.c > active-response.c > > picviz.c prelude.c compiled_rules/*.o ../config/lib_config.a > > decoders/decoders.a cdb/cdb.a cdb/cdb_make.a alerts/alerts.a > > ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a > > ../shared/lib_shared.a ../os_zlib/os_zlib.c ../external/libz.a -DPRELUDE > > -lprelude -I/usr/local/include -L/usr/local/lib -lprelude -lgnutls > -lgcrypt > > -ldl -lgcc_s -lpthread -o ossec-analysisd > > /usr/bin/ld: cannot find -lgnutls > > Do you have gnutls installed? >
Yes gnutls is installed. Actually i just found what I was missing. The package gnutls-bin was installed and the libgnutls26 package. After a little more digging i discovered that i was missing the gnutls-dev package. After installing it everything compiled without error Thanks though for the answer > > > collect2: ld returned 1 exit status > > make[1]: *** [logaudit] Error 1 > > make[1]: Leaving directory > `/opt/paketa/ossec/ossec-hids-2.7/src/analysisd' > > > > Error Making analysisd > > make: *** [all] Error 1 > > > > Error 0x5. > > Building error. Unable to finish the installation. > > > > I have made a change that i found in the net about adding the -lgcc_s in > the > > src/Config.OS file but no luck > > (http://www.howtoforge.com/snort-ossec-prelude-on-ubuntu-gutsy-gibbon-p3). > > > The configuration that i followed was working in the 2.6 version > > > > Any ideas are most welcome! > > > > Thanks!!!! >
