Snort mailing list archives
Barnyard, /usr/bin/ld: cannot find –lmysqlclient
From: Jerry McCaslin <jerrymccaslin () yahoo com>
Date: Tue, 11 Jan 2011 09:09:03 -0800 (PST)
Snort-Users, Please Help if you can, I’m using the below guide, but having a issue with the make for Barnyard Nick Moore, December 2010On, Red Hat 5.5 Any and all help will be much appreciated Error /usr/bin/ld: cannot find –lmysqlclient ============================================ ./configure --with-mysql &&make … /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -fno-strict-aliasing -Wall -L/usr/lib/mysql -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: 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 util.o -L/usr/lib/mysql output-plugins/libspo.a input-plugins/libspi.a sfutil/libsfutil.a -lmysqlclient -lz -lpcap -lnsl -lm /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[3]: *** [barnyard2] Error 1 make[3]: Leaving directory `/usr/local/barnyard2-1.9/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/barnyard2-1.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/barnyard2-1.9' make: *** [all] Error 2 Very Restfully Jerry McCaslinjerrymccaslin@yahoo.comhttp://www.snort.org/assets/159/Snort_2.9.0.3_FC14_Base.pdf
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ 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://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Barnyard, /usr/bin/ld: cannot find –lmysqlclient Jerry McCaslin (Jan 11)
- Re: [Snort-users] Barnyard, /usr/bin/ld: cannot find –lmysqlclient Castle, Shane (Jan 11)
- Re: Barnyard, /usr/bin/ld: cannot find ???lmysqlclient Gregory W. MacPherson (Jan 11)