[Snort-users] Snort Compile problem on Mandrake 8.2

Albert E. Whale aewhale at ...6483...
Tue Jul 30 11:53:04 EDT 2002


I am attempting to compile the 1.8.7 version of Snort, because the RPMs
complain about Dependency issues which are resolved.  Anyway the compile
proceeds to this point and fails:

gcc  -g -O2 -Wall -L/usr/lib -o snort  snort.o log.o
decode.o mstring.o rules.o plugbase.o sp_pattern_match.o
sp_tcp_flag_check.o sp_icmp_type_check.o
sp_icmp_code_check.o sp_ttl_check.o sp_ip_id_check.o
sp_tcp_ack_check.o sp_tcp_seq_check.o sp_dsize_check.o
spp_http_decode.o spp_portscan.o sp_ipoption_check.o
sp_rpc_check.o sp_icmp_id_check.o sp_icmp_seq_check.o
sp_respond.o spo_alert_syslog.o spo_log_tcpdump.o
spo_database.o sp_session.o spp_defrag.o parser.o
spo_alert_fast.o spo_alert_full.o
spo_alert_smb.o spo_alert_unixsock.o sp_react.o spo_xml.o
sp_ip_tos_check.o snprintf.o checksum.o spp_tcp_stream2.o
sp_reference.o sp_ip_fragbits.o spp_anomsensor.o tag.o
spp_unidecode.o codes.o strlcpyu.o strlcatu.o debug.o
sp_tcp_win_check.o spp_rpc_decode.o spp_bo.o
spp_telnet_negotiation.o spo_csv.o sp_ip_same_check.o
sp_priority.o sp_ip_proto.o ubi_BinTree.o ubi_SplayTree.o
spo_unified.o spp_stream4.o spp_frag2.o spp_arpspoof.o
spo_idmef.o spo_SnmpTrap.o spo_log_null.o  -lz -lpcap -lm
-lnsl  -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [snort] Error 1
make[2]: Leaving directory `/usr/src/snort-1.8.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/snort-1.8.7'
make: *** [all-recursive-am] Error 2

Searching for mysqlclient results in the following:

[/usr/src/snort-1.8.7] locate mysqlclient
/usr/lib/mysql/libmysqlclient.a
/usr/lib/libmysqlclient.so.10.0.0
/usr/lib/libmysqlclient.so.10
/usr/lib/libmysqlclient_r.so.10.0.0
/usr/lib/libmysqlclient_r.so.10

/usr/src/snort-1.8.7/win32/WIN32-Libraries/mysql/mysqlclient.lib

Has anyone seen this before?

TIA!

--
Albert E. Whale - CISSP
http://www.abs-comptech.com
----------------------------------------------------------------------
ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
Sr. Security, Network, and Systems Consultant
Board of Directors - InfraGard - Pittsburgh, PA






More information about the Snort-users mailing list