<![CDATA[Latest posts for the topic "Cài snort_inline bị lỗi"]]> /hvaonline/posts/list/24.html JForum - http://www.jforum.net Cài snort_inline bị lỗi ERROR! Libipq library/headers not found, go get it from www.netfilter.org or use the --with-libipq-* options, if you have it installed in unusual place [color=red] [/color] cho mình hỏi làm sao để khắc phục, cảm ơn]]> /hvaonline/posts/list/34138.html#209717 /hvaonline/posts/list/34138.html#209717 GMT Cài snort_inline bị lỗi /hvaonline/posts/list/34138.html#209726 /hvaonline/posts/list/34138.html#209726 GMT Cài snort_inline bị lỗi /hvaonline/posts/list/34138.html#209742 /hvaonline/posts/list/34138.html#209742 GMT Cài snort_inline bị lỗi

leopardi wrote:
hình như nó thiếu thư viện libipq nhưng em không biết làm thế nào cả? 
Học tiếng Anh để đọc hiểu nốt đoạn còn lại.]]>
/hvaonline/posts/list/34138.html#209743 /hvaonline/posts/list/34138.html#209743 GMT
Cài snort_inline bị lỗi /hvaonline/posts/list/34138.html#209784 /hvaonline/posts/list/34138.html#209784 GMT Cài snort_inline bị lỗi Code:
apt-get install libpcap0.8-dev
Install cái này vào là không báo lỗi thiếu file header của libpcap nữa đâu. :D ]]>
/hvaonline/posts/list/34138.html#209788 /hvaonline/posts/list/34138.html#209788 GMT
Cài snort_inline bị lỗi

kyoshiroit wrote:
Code:
apt-get install libpcap0.8-dev
Install cái này vào là không báo lỗi thiếu file header của libpcap nữa đâu. :D  
Lệnh này chỉ chạy trên Debian và các distro dựa trên debian thôi! trên CentOS phải dùng Code:
yum install libpcap-devel
- Ky0 - ]]>
/hvaonline/posts/list/34138.html#209828 /hvaonline/posts/list/34138.html#209828 GMT
Cài snort_inline bị lỗi Code:
[root@localhost snort_inline-2.6.1.5]# yum install libpcap-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos-hcm.viettelidc.com.vn
 * extras: centos-hcm.viettelidc.com.vn
 * rpmforge: archive.cs.uu.nl
 * updates: centos-hcm.viettelidc.com.vn
Setting up Install Process
Package 14:libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64 already installed and latest version
Nothing to do
[root@localhost snort_inline-2.6.1.5]# ./configure --with-mysql-includes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether byte ordering is bigendian... no
checking for sparc alignment... no
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 sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether snprintf must be declared... no
checking whether strtoul must be declared... no
checking for snprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strerror... yes
checking for __FUNCTION__... yes
checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile in -lpcre... yes
checking for dlsym in -ldl... yes
./configure: line 24184: dnet-config: command not found
./configure: line 24186: dnet-config: command not found
checking libipq.h usability... no
checking libipq.h presence... no
checking for libipq.h... no
configure: error: libipq.h not found ...
[root@localhost snort_inline-2.6.1.5]#
sau đó Code:
[root@localhost snort-2.9.6.0]# yum install libpcap-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos-hcm.viettelidc.com.vn
 * extras: centos-hcm.viettelidc.com.vn
 * rpmforge: archive.cs.uu.nl
 * updates: centos-hcm.viettelidc.com.vn
Setting up Install Process
Package 14:libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64 already installed and latest version
Nothing to do
[root@localhost snort-2.9.6.0]#
Nếu như thế này rồi mà vẫn bị lỗi thì xử lý sao ạ?.]]>
/hvaonline/posts/list/34138.html#280173 /hvaonline/posts/list/34138.html#280173 GMT