[Snort-users] Compiling Error on Redhat 6.2

Roman Danyliw roman at ...438...
Mon Jan 15 10:45:40 EST 2001


Snort is breaking when trying to include HTTPS logging
functionality using OpenSSL.  The issue should be independant of RH6.2.

The quick fix is to manually edit the Makefile and remove
the "-DENABLE_SSL" string from "CPPFLAGS".  However, more information is
required for the real fix:

- What version of Snort are you using? (am I correct that it is 1.7)
- What version of OpenSSL?
- What directory are the OpenSSL headers in? library?

cheers,
Roman

On Mon, 15 Jan 2001, Loki wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> [root at ...1143...]# make
> gcc  -g -O2 -Wall  -L/usr/local/ssl/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_minfrag.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 spp_tcp_stream.o snprintf.o checksum.o
> sp_reference.o sp_ip_fragbits.o spp_anomsensor.o  -lpcap -lm -lnsl
> - - -lssl -lcrypto
> spo_xml.o: In function `init_snort_ssl_ctx':
> /export/snort-1.7/spo_xml.c:594: undefined reference to
> `SSL_library_init'
> collect2: ld returned 1 exit status
> make: *** [snort] Error 1
>
> I'm getting a compile error on our Redhat 6.2 box. Can anyone tell me
> what is wrong?
>






More information about the Snort-users mailing list