Snort mailing list archives

migrate from mysql to oracle


From: "Master Brian" <mangabbs () hotmail com>
Date: Wed, 19 Mar 2003 17:26:43 +0100

Greetings, 

I'm trying to compile snort (1.9.1) --with-oracle support, I've downloaded and placed on my redhat 8.0 the oci 
libraries and with ./configure all works like a charm, but when I try to compile I get an error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins 
-I../src/preprocessors  -I/usr/rdbms/demo -I/usr/rdbms/public -I/usr/network/public -DENABLE_ORACLE  -g -O2 -Wall -c 
threshold.c
gcc  -g -O2 -Wall -L/usr/lib -o snort  codes.o debug.o decode.o log.o mstring.o parser.o plugbase.o snort.o snprintf.o 
strlcatu.o strlcpyu.o tag.o ubi_BinTree.o ubi_SplayTree.o util.o detect.o substr.o trie.o signature.o mempool.o 
sf_sdlist.o perf.o perf-flow.o perf-base.o perf-event.o threshold.o output-plugins/libspo.a detection-plugins/libspd.a 
preprocessors/libspp.a  -lpcap -lm -lnsl  -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make[3]: *** [snort] Error 1
make[3]: Leaving directory `/usr/local/src/SOURCES/snort-1.9.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/SOURCES/snort-1.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/SOURCES/snort-1.9.1'
make: *** [all-recursive-am] Error 2

So the problem seems the compiler cannot find -lclntsh, I've looked around with google and seems that many other people 
that are compiling php with oracle support have the same problem, but I didn't get how to fix this problem. I hope that 
you can help me. :)

Thank you!
Lorenzo

Current thread: