I'm using this document to setup a snort / barnyard2 instance and I'm running into a problem compiling barnyard2
http://www.rivy.org/2013/03/building-barnyard2-from-source/Here's the error that I'm receiving when making from a Ubuntu 14.04LTS system
make[3]: Entering directory `/home/skeeler/firnsy-barnyard2-272eaf7/src'
/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 twofish.o util.o output-plugins/libspo.a input-plugins/libspi.a sfutil/libsfutil.a -lmysqlclient -lz -lpcap -lnsl -lm -lm
libtool: link: gcc -g -O2 -fno-strict-aliasing -Wall -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 twofish.o util.o -L/usr/lib/x86_64-linux-gnu output-plugins/libspo.a input-plugins/libspi.a sfutil/libsfutil.a -lmysqlclient -lz -lpcap -lnsl -lm
/usr/bin/ld: barnyard2.o: undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [barnyard2] Error 1
make[3]: Leaving directory `/home/skeeler/firnsy-barnyard2-272eaf7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/skeeler/firnsy-barnyard2-272eaf7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/skeeler/firnsy-barnyard2-272eaf7'
make: *** [all] Error 2
I'm not sure if I'm missing anything