Snort mailing list archives

Problem installing barnyard2


From: Josue Fernando Argueta Galindo <fargueta_ges () galileo edu>
Date: Wed, 21 Nov 2012 10:31:11 -0600

Hi,

I am installing Snort in my PC following the installation guide of Ubuntu
12.04 LTS. But when I try to download and install barnyard2 I get some
errors in this section:

wget https://nodeload.github.com/firnsy/barnyard2/tarball/master \
-O barnyard2-2.10.tar.gz
sudo tar zxvf barnyard2-2.10.tar.gz
cd firnsy-barnyard2*
sudo autoreconf -fvi -I ./m4
sudo ./configure --with-mysql --with-mysql-libraries=/usr/lib/i386-linux-gnu
sudo make

First, when I try to download barnyard2-2.10.tar.gz using the following
command:

wget https://nodeload.github.com/firnsy/barnyard2/tarball/master \
-O barnyard2-2.10.tar.gz

the file doesn't exist in the server, so I downloaded barnyard2-1.9 version
in http://www.securixlive.com/barnyard2/download.php.
Then I try to execute the following commands

sudo tar zxvf barnyard2-1.9.tar.gz
cd barnyard2-1.9
sudo autoreconf -fvi -I ./m4
sudo ./configure --with-mysql
--with-mysql-libraries=/usr/lib/x86_64-linux-gnu

but when I try to run:

sudo make

I get this error:

gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -I/usr/include/mysql -DENABLE_MYSQL
 -g -O2 -fno-strict-aliasing -Wall -c util.c
util.c: In function ‘GoDaemon’:
util.c:1058:6: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2
-fno-strict-aliasing -Wall  -L/usr/lib/x86_64-linux-gnu -o barnyard2
barnyard2.o debug.o decode.o log.o log_text.o map.o mstring.o parser.o
plugbase.o spooler.o strlcatu.o strlcpyu.o util.o output-plugins/libspo.a
input-plugins/libspi.a sfutil/libsfutil.a -lmysqlclient -lz -lpcap -lnsl
-lm -lm
libtool: Version mismatch error.  This is libtool 2.4.2
Debian-2.4.2-1ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
Debian-2.4.2-1ubuntu1
libtool: and run autoconf again.
make[3]: *** [barnyard2] Error 63
make[3]: Leaving directory
`/home/fernandoargueta/Downloads/barnyard2-1.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/fernandoargueta/Downloads/barnyard2-1.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fernandoargueta/Downloads/barnyard2-1.9'
make: *** [all] Error 2

Can anybody help me with this please?
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: