centos6justniffer

/usr/local/lib: file not recognized: Is a directory


When installing justniffer on CentOS 6.5,

./configure

works fine, but make gives the following error:

libtool: link: g++ -g -O2 -o justniffer justniffer-main.o justniffer-formatter.o justniffer-utilities.o justniffer-regex.o justniffer-prog_read_file.o /usr/local/lib  -L/root/justniffer/lib/libnids-1.21_patched/src -lnids2 -lpcap -L/usr/local/lib -lboost_regex-mt -lboost_program_options -lpython2.6
/usr/local/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [justniffer] Error 1
make[1]: Leaving directory `/root/justniffer/src'
make: *** [all-recursive] Error 1

What's the solution for this?


Solution

  • use./configure LIBS="-I /usr/local/include -L/usr/local/lib" ,then make,it's work!