On Tue, Jan 15, 2013 at 2:02 AM, Vasilis Tzimourtos <[email protected]> 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?

> 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!!!!

Reply via email to