Snort mailing list archives

RV: installation problem


From: "Macedo, Marlon - (Per)" <Marlon.Macedo () attla com>
Date: Wed, 26 Sep 2001 09:27:10 -0500

Erek,
It`s still not working.
i send you output from:

1)      ./configure --with-openssl=/usr/local/ssl
2)      make
3)    truss -o testing make

I would like to know the best settings for CFLAGS and LDFLAGS in Makefile.

Thanks a lot
Marlon M.

# ./configure --with-openssl=/usr/local/ssl    
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... sparc-sun-solaris2.8
checking whether byte ordering is bigendian... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/sockio.h... (cached) yes
checking for paths.h... (cached) no
checking for inet_ntoa in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) yes
checking whether printf must be declared... (cached) no
checking whether fprintf must be declared... (cached) no
checking whether syslog must be declared... (cached) no
checking whether puts must be declared... (cached) no
checking whether fputs must be declared... (cached) no
checking whether fputc must be declared... (cached) no
checking whether fopen must be declared... (cached) no
checking whether fclose must be declared... (cached) no
checking whether fwrite must be declared... (cached) no
checking whether fflush must be declared... (cached) no
checking whether getopt must be declared... (cached) no
checking whether bzero must be declared... (cached) no
checking whether bcopy must be declared... (cached) no
checking whether memset must be declared... (cached) no
checking whether strtol must be declared... (cached) no
checking whether strcasecmp must be declared... (cached) no
checking whether strncasecmp must be declared... (cached) no
checking whether strerror must be declared... (cached) no
checking whether perror must be declared... (cached) no
checking whether socket must be declared... (cached) no
checking whether sendto must be declared... (cached) no
checking whether vsnprintf must be declared... (cached) no
checking whether snprintf must be declared... (cached) no
checking whether strtoul must be declared... (cached) no
checking for snprintf... (cached) yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for strerror... (cached) yes
checking for floor in -lm... (cached) yes
checking for pcap_datalink in -lpcap... (cached) yes
checking for mysql... no
checking for odbc... no
checking for postgresql... no
checking for oracle... no
checking for openssl... yes
checking for u_int8_t... (cached) no
checking for u_int16_t... (cached) no
checking for u_int32_t... (cached) no
checking for a BSD compatible install... ./install-sh -c
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

# make
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DBSD_COMP -I/usr/local/ssl/include
-DENABLE_SSL  -g -O2 -Wall -c snort.c
In file included from snort.c:45:
snort.h:31:18: pcap.h: No such file or directory
snort.h:32:21: net/bpf.h: No such file or directory
In file included from snort.c:45:
snort.h:65:25: pcap-namedb.h: No such file or directory
In file included from snort.h:82,
                 from snort.c:45:
decode.h:30:18: pcap.h: Error 0
In file included from snort.h:82,
                 from snort.c:45:
decode.h:46:25: pcap-namedb.h: Error 0
In file included from snort.h:82,
                 from snort.c:45:
decode.h:766: field `pkth' has incomplete type
decode.h:779: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `snort.o'



# more testing
execve("/usr/ccs/bin/make", 0xFFBEFDEC, 0xFFBEFDF4)  argc = 1
stat("/usr/ccs/bin/make", 0xFFBEFB28)           = 0
open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
open("/usr/local/lib/libintl.so.1", O_RDONLY)   Err#2 ENOENT
open("/usr/lib/libintl.so.1", O_RDONLY)         = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF3A0000
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON,
-1, 0) = 0xFF390000
close(3)                                        = 0
open("/usr/local/lib/libnsl.so.1", O_RDONLY)    Err#2 ENOENT
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF380000
mmap(0x00000000, 696320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF280000
mmap(0xFF31A000, 32716, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 565248) = 0xFF31A000
mmap(0xFF322000, 30880, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF322000
munmap(0xFF30A000, 65536)                       = 0
memcntl(0xFF280000, 81508, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/local/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libsocket.so.1", O_RDONLY)       = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0xFF380000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF380000
mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF360000
mmap(0xFF37A000, 4341, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF37A000
munmap(0xFF36A000, 65536)                       = 0
memcntl(0xFF360000, 14392, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/local/lib/libw.so.1", O_RDONLY)      Err#2 ENOENT
open("/usr/lib/libw.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0xFF380000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF380000
close(3)                                        = 0
open("/usr/local/lib/libm.so.1", O_RDONLY)      Err#2 ENOENT
open("/usr/lib/libm.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF350000
mmap(0x00000000, 155648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF250000
mmap(0xFF274000, 4228, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 81920) = 0xFF274000
munmap(0xFF266000, 57344)                       = 0
memcntl(0xFF250000, 8144, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/local/lib/libc.so.1", O_RDONLY)      Err#2 ENOENT
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0xFF350000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF350000
mmap(0x00000000, 786432, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF180000
mmap(0xFF238000, 24488, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 688128) = 0xFF238000
mmap(0xFF23E000, 6588, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF23E000
munmap(0xFF228000, 65536)                       = 0
memcntl(0xFF180000, 112060, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/local/lib/libdl.so.1", O_RDONLY)     Err#2 ENOENT
open("/usr/lib/libdl.so.1", O_RDONLY)           = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0xFF350000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF350000
close(3)                                        = 0
open("/usr/local/lib/libmp.so.2", O_RDONLY)     Err#2 ENOENT
open("/usr/lib/libmp.so.2", O_RDONLY)           = 3
fstat(3, 0xFFBEF8C0)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000
mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF160000
mmap(0xFF174000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 16384) = 0xFF174000
munmap(0xFF164000, 65536)                       = 0
memcntl(0xFF160000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1", O_RDONLY) = 3
fstat(3, 0xFFBEF768)                            = 0
mmap(0xFF340000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF340000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF150000
close(3)                                        = 0
munmap(0xFF340000, 8192)                        = 0
brk(0x0006E2E8)                                 = 0
brk(0x000702E8)                                 = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON,
-1, 0) = 0xFF340000
fstat64(1, 0xFFBEFCF0)                          = 0
fstat64(2, 0xFFBEFC58)                          = 0
brk(0x000702E8)                                 = 0
brk(0x000722E8)                                 = 0
pipe()                                          = 3 [4]
vfork()                                         = 9138
close(4)                                        = 0
fstat64(3, 0xFFBEE288)                          = 0
brk(0x000722E8)                                 = 0
brk(0x000742E8)                                 = 0
ioctl(3, TCGETA, 0xFFBEE214)                    Err#22 EINVAL
read(3, " s u n 4\n", 5120)                     = 5
read(3, 0x000713FC, 5120)                       = 0
llseek(3, 0, SEEK_CUR)                          Err#29 ESPIPE
close(3)                                        = 0
waitid(P_PID, 9138, 0xFFBEE298, 0403   )        = 0
pipe()                                          = 3 [4]
vfork()                                         = 9143
close(4)                                        = 0
fstat64(3, 0xFFBEE288)                          = 0
ioctl(3, TCGETA, 0xFFBEE214)                    Err#22 EINVAL
read(3, " s p a r c\n", 5120)                   = 6
read(3, 0x0007156C, 5120)                       = 0
llseek(3, 0, SEEK_CUR)                          Err#29 ESPIPE
close(3)                                        = 0
waitid(P_PID, 9143, 0xFFBEE298, 0403   )        = 0
sigfillset(0xFF23E83C)                          = 0
sigaction(SIGINT, 0xFFBEF2B8, 0xFFBEF358)       = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF388, 0xFFBEF378) = 0
sigaction(SIGQUIT, 0xFFBEF2B8, 0xFFBEF358)      = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF388, 0xFFBEF378) = 0
sigaction(SIGTERM, 0xFFBEF2B8, 0xFFBEF358)      = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF388, 0xFFBEF378) = 0
sigaction(SIGHUP, 0xFFBEF2B8, 0xFFBEF358)       = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF388, 0xFFBEF378) = 0
sigaction(SIGINT, 0xFFBEF2B8, 0xFFBEF358)       = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF388, 0xFFBEF378) = 0
sigaction(SIGQUIT, 0xFFBEF2B8, 0xFFBEF358)      = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF388, 0xFFBEF378) = 0
sigaction(SIGTERM, 0xFFBEF2B8, 0xFFBEF358)      = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF388, 0xFFBEF378) = 0
sigaction(SIGHUP, 0xFFBEF318, 0xFFBEF3B8)       = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF3E8, 0xFFBEF3D8) = 0
lstat64("make.rules", 0xFFBEBCA8)               Err#2 ENOENT
open64(".", O_RDONLY|O_NDELAY)                  = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
fstat64(3, 0xFFBE6B40)                          = 0
getdents64(3, 0x00071A90, 1048)                 = 1024
getdents64(3, 0x00071A90, 1048)                 = 1032
brk(0x000742E8)                                 = 0
brk(0x000762E8)                                 = 0
getdents64(3, 0x00071A90, 1048)                 = 1032
getdents64(3, 0x00071A90, 1048)                 = 936
brk(0x000762E8)                                 = 0
brk(0x000782E8)                                 = 0
getdents64(3, 0x00071A90, 1048)                 = 1048
getdents64(3, 0x00071A90, 1048)                 = 1048
brk(0x000782E8)                                 = 0
brk(0x0007A2E8)                                 = 0
getdents64(3, 0x00071A90, 1048)                 = 896
brk(0x0007A2E8)                                 = 0
brk(0x0007C2E8)                                 = 0
getdents64(3, 0x00071A90, 1048)                 = 512
getdents64(3, 0x00071A90, 1048)                 = 0
close(3)                                        = 0
lstat64("SCCS", 0xFFBE6B28)                     Err#2 ENOENT
access("./make.rules", 4)                       Err#2 ENOENT
access("/usr/share/lib/make/make.rules", 4)     = 0
lstat64("/usr/share/lib/make/make.rules", 0xFFBEBCA8) = 0
open64("/usr/share/lib/make", O_RDONLY|O_NDELAY) = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
fstat64(3, 0xFFBE6B40)                          = 0
getdents64(3, 0x0007AD78, 1048)                 = 120
getdents64(3, 0x0007AD78, 1048)                 = 0
close(3)                                        = 0
lstat64("/usr/share/lib/make/SCCS", 0xFFBE6B28) Err#2 ENOENT
lstat64("/usr/share/lib/make/make.rules", 0xFFBEBDE8) = 0
open64("/usr/share/lib/make/make.rules", O_RDONLY) = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
brk(0x0007C2E8)                                 = 0
brk(0x000842E8)                                 = 0
read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
brk(0x000842E8)                                 = 0
brk(0x000862E8)                                 = 0
brk(0x000862E8)                                 = 0
brk(0x000882E8)                                 = 0
brk(0x000882E8)                                 = 0
brk(0x0008A2E8)                                 = 0
brk(0x0008A2E8)                                 = 0
brk(0x0008C2E8)                                 = 0
brk(0x0008C2E8)                                 = 0
brk(0x0008E2E8)                                 = 0
brk(0x0008E2E8)                                 = 0
brk(0x000902E8)                                 = 0
brk(0x000902E8)                                 = 0
brk(0x000922E8)                                 = 0
brk(0x000922E8)                                 = 0
brk(0x000942E8)                                 = 0
brk(0x000942E8)                                 = 0
brk(0x000962E8)                                 = 0
read(3, " a n e o u s   s e c t i".., 406)      = 406
brk(0x000962E8)                                 = 0
brk(0x000982E8)                                 = 0
close(3)                                        = 0
brk(0x000982E8)                                 = 0
brk(0x0009A2E8)                                 = 0
lstat64("Makefile", 0xFFBEBCA8)                 = 0
lstat64("Makefile", 0xFFBEBDE8)                 = 0
open64("Makefile", O_RDONLY)                    = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
brk(0x0009A2E8)                                 = 0
brk(0x000AA2E8)                                 = 0
read(3, " #   G e n e r a t e d  ".., 8192)     = 8192
brk(0x000AA2E8)                                 = 0
brk(0x000AC2E8)                                 = 0
brk(0x000AC2E8)                                 = 0
brk(0x000AE2E8)                                 = 0
brk(0x000AE2E8)                                 = 0
brk(0x000B22E8)                                 = 0
brk(0x000B22E8)                                 = 0
brk(0x000B42E8)                                 = 0
brk(0x000B42E8)                                 = 0
brk(0x000B62E8)                                 = 0
brk(0x000B62E8)                                 = 0
brk(0x000B82E8)                                 = 0
read(3, " O N F I G _ H E A D E R".., 7771)     = 7771
brk(0x000B82E8)                                 = 0
brk(0x000BA2E8)                                 = 0
brk(0x000BA2E8)                                 = 0
brk(0x000BC2E8)                                 = 0
brk(0x000BC2E8)                                 = 0
brk(0x000BE2E8)                                 = 0
brk(0x000BE2E8)                                 = 0
brk(0x000C02E8)                                 = 0
brk(0x000C02E8)                                 = 0
brk(0x000C22E8)                                 = 0
brk(0x000C22E8)                                 = 0
brk(0x000C42E8)                                 = 0
brk(0x000C42E8)                                 = 0
brk(0x000C62E8)                                 = 0
brk(0x000C62E8)                                 = 0
brk(0x000C82E8)                                 = 0
close(3)                                        = 0
sigaction(SIGALRM, 0xFFBEF318, 0xFFBEF3B8)      = 0
sigprocmask(SIG_UNBLOCK, 0xFFBEF3E8, 0xFFBEF3D8) = 0
pathconf(".", _PC_PATH_MAX)                     = 1024
stat64("./", 0xFFBEDF00)                        = 0
stat64("/", 0xFFBEDE68)                         = 0
open64("./../", O_RDONLY|O_NDELAY)              = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
fstat64(3, 0xFFBEC488)                          = 0
fstat64(3, 0xFFBEDF00)                          = 0
getdents64(3, 0x000C7A58, 1048)                 = 1040
close(3)                                        = 0
open64("./../../", O_RDONLY|O_NDELAY)           = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
fstat64(3, 0xFFBEC488)                          = 0
fstat64(3, 0xFFBEDF00)                          = 0
open("/etc/mnttab", O_RDONLY)                   = 4
fstat64(4, 0xFFBEAE48)                          = 0
brk(0x000C82E8)                                 = 0
brk(0x000CA2E8)                                 = 0
ioctl(4, TCGETA, 0xFFBEADD4)                    Err#22 EINVAL
read(4, " / d e v / d s k / c 0 t".., 512)      = 512
ioctl(4, (('m'<<8)|1), 0xFF23ABF8)              = 0
ioctl(4, (('m'<<8)|2), 0x000C8490)              = 0
read(4, " , s u i d , d e v = 8 0".., 512)      = 377
lstat64("/opt", 0xFFBEB068)                     = 0
lstat64("/opt/..", 0xFFBEB068)                  = 0
llseek(4, 0xFFFFFFFFFFFFFEA2, SEEK_CUR)         = 539
close(4)                                        = 0
close(3)                                        = 0
lstat64(".INIT", 0xFFBEF178)                    Err#2 ENOENT
lstat64("all", 0xFFBEF118)                      Err#2 ENOENT
lstat64("all-redirect", 0xFFBEEE18)             Err#2 ENOENT
lstat64("all-am", 0xFFBEEB18)                   Err#2 ENOENT
lstat64("Makefile.in", 0xFFBEE518)              = 0
lstat64("Makefile.am", 0xFFBEE218)              = 0
lstat64("configure.in", 0xFFBEE218)             = 0
lstat64("aclocal.m4", 0xFFBEE218)               = 0
lstat64("config.status", 0xFFBEE518)            = 0
lstat64("configure", 0xFFBEE218)                = 0
lstat64("snort", 0xFFBEE818)                    Err#2 ENOENT
lstat64("snort.o", 0xFFBEE518)                  Err#2 ENOENT
lstat64("snort.c", 0xFFBED260)                  = 0
ioctl(1, TCGETA, 0xFFBEC35C)                    = 0
write(1, " g c c   - D H A V E _ C".., 108)     = 108
stat64(".make.state", 0xFFBED058)               Err#2 ENOENT
fork()                                          = 9146
sigaction(SIGINT, 0xFFBECA30, 0xFFBECAD0)       = 0
sigprocmask(SIG_UNBLOCK, 0xFFBECB00, 0xFFBECAF0) = 0
sigaction(SIGQUIT, 0xFFBECA30, 0xFFBECAD0)      = 0
sigprocmask(SIG_UNBLOCK, 0xFFBECB00, 0xFFBECAF0) = 0
sigaction(SIGTERM, 0xFFBECA30, 0xFFBECAD0)      = 0
sigprocmask(SIG_UNBLOCK, 0xFFBECB00, 0xFFBECAF0) = 0
sigaction(SIGHUP, 0xFFBECA90, 0xFFBECB30)       = 0
sigprocmask(SIG_UNBLOCK, 0xFFBECB60, 0xFFBECB50) = 0
wait()                                          = 9146 [0x0100]
write(1, " * * *   E r r o r   c o".., 17)      = 17
write(2, " m a k e :   F a t a l  ".., 19)      = 19
write(2, " C o m m a n d   f a i l".., 27)      = 27
write(2, " s n o r t . o", 7)                   = 7
write(2, " '", 1)                               = 1
write(2, "\n", 1)                               = 1
lstat64(".DONE", 0xFFBECD80)                    Err#2 ENOENT
llseek(0, 0, SEEK_CUR)                          = 158380
_exit(1)



---Original Message---

Date: Sat, 22 Sep 2001 06:52:33 -0700 (PDT)
From: Erek Adams <erek () theadamsfamily net>
To: "Macedo, Marlon  - (Per)" <Marlon.Macedo () attla com>
Cc: snort-users () lists sourceforge net
Subject: Re: [Snort-users] installation problem

On Fri, 21 Sep 2001, Macedo, Marlon  - (Per) wrote:

After installing the package in Solaris 8 and trying to run the command
the
following message appears:

2wsvil2# snort -v
ld.so.1: snort: fatal: libssl.so.0.9.6: open failed: No such file or
directory
Killed

It cannot find the file but it exists.  Any idea what`s happening?

[...snip...]

Well, to take a guess at it, I'd say that openssl was installed somewhere
odd.

First off, find out where the openssl libraries are installed:

        pkgchk -v SMCssl

Then see where snort expects it to be:

        truss -o testing snort -V
        grep libssl testing

Now, you've got three options:

        setenv LD_LIBARY_PATH=<whereever libssl is installed>   (icky)
        cp <libssl installdir>/libssl.so.0.9.6 /usr/lib   (still icky)
        rebuild snort   (best way)

If you rebuild snort note this output from ./configure --help:

  --with-openssl=DIR      support for openssl

[...]

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>

Hope that helps!

---End Original---

:)

-----
Erek Adams
Nifty-Type-Guy
TheAdamsFamily.Net


_______________________________________________
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: