Snort mailing list archives

Re: Make error


From: Phil Wood <cpw () lanl gov>
Date: Sat, 21 Jul 2001 09:37:20 -0600

On Fri, Jul 20, 2001 at 07:47:05PM -0700, Jorge Reyes wrote:
I'm getting the following error compiling snort (make)
Any ideas ?
 
collect2: ld returned 1 exit status
make: *** [snort] Error 1

 
I have openssl version
openssl-engine-0.9.6b
 
I have snort version
snort-1.8p1.
 
I have mysql version
mysql-3.23.36-1
mysql-server-3.23.36-1
 
This is the configure ran
./configure --with-openssl=/usr/local/ --with-mysql=$DBHOME

Check /usr/local and look for openssl or ssl directory.  If found
then use --with-openssl=/usr/local/ssl (openssl)


The SSL libraries are the standard i.e
certs  lib  man  misc  openssl.cnf  private
/usr/local/openssl

 
+++++++++++++++++++++++++++++++++++++++
 make
gcc  -g -O2 -Wall -L/usr/lib/mysql -L/usr/local//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  -lpcap -lm -lnsl  -lmysqlclient -lssl
-lcrypto
/usr/local//lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x77): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xe3): undefined reference to `dlclose'
/usr/local//lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1b6): undefined reference to `dlsym'
/usr/local//lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x2a6): undefined reference to `dlsym'
/usr/local//lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x3a5): undefined reference to `dlclose'
/usr/lib/mysql/libmysqlclient.so: undefined reference to
`mkstemp64@GLIBC_2.2' <mailto:`mkstemp64@GLIBC_2.2&apos;> 
collect2: ld returned 1 exit status
make: *** [snort] Error 1

ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿҞŠíþë®ÉšŠX§‚X¬µ)è®ßî±êìþX¬¶Ïì¢êÜyú+ïçzѨ¶‹aŠÅ.Ú…
©àz뮊mŠ‰ì¢»§²æìr¸›{øm¶ŸÿþX¬¶Ïì¢êÜyú+ïçzßåŠËlþX¬¶)ߣû'¢»ÿºÇ«±)è®ßî±êì–+-j·!Š÷ÿ†ÛiÿÿðÃàz‡+k 
^¯÷(›úÞv*ÿ±ÿ醝ÿ–+-®ßî±êì

-- 
Phil Wood, cpw () lanl gov


_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: