Luca, the binary version that fails with the missing libnetfilter_queue.so.1 is this one: nprobe.x86_64 7.2.160308-4471 @ntop
I tried nprobe 6.4.3_051011 ... that one fails with a different message *** Warning: Linking the shared library libnprobe.la against the non-libtool *** objects systemId.o is not portable! libtool: link: gcc -shared .libs/collect.o .libs/engine.o .libs/export.o .libs/database.o .libs/fb.o .libs/globals.o .libs/plugin.o .libs/sflow_collect.o .libs/util.o .libs/version.o systemId.o -L/usr/local/lib -L/opt/local/lib -lresolv -lpthread -ldl -lutil -lm -lpython2.6 -lpcap -Wl,-soname -Wl,libnprobe-6.4.3.so -o .libs/libnprobe-6.4.3.so libtool: link: (cd ".libs" && rm -f "libnprobe.so" && ln -s "libnprobe-6.4.3.so" "libnprobe.so") libtool: link: ar cru .libs/libnprobe.a collect.o engine.o export.o database.o fb.o globals.o plugin.o sflow_collect.o util.o version.o libtool: link: ranlib .libs/libnprobe.a libtool: link: ( cd ".libs" && rm -f "libnprobe.la" && ln -s "../libnprobe.la" "libnprobe.la" ) gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include/python2.6 -I/usr/include/python2.6 -I/usr/local/include -I/opt/local/include -g -g -O2 -I/usr/local/include -I/opt/local/include -I/usr/include/python2.6 -I/usr/include/python2.6 -MT nprobe-nprobe.o -MD -MP -MF .deps/nprobe-nprobe.Tpo -c -o nprobe-nprobe.o `test -f 'nprobe.c' || echo './'`nprobe.c nprobe.c:217: warning: conflicting types for âprintPcapStatsâ nprobe.c:211: note: previous implicit declaration of âprintPcapStatsâ was here mv -f .deps/nprobe-nprobe.Tpo .deps/nprobe-nprobe.Po /bin/sh ./libtool --tag=CC --mode=link gcc -g -g -O2 -I/usr/local/include -I/opt/local/include -I/usr/include/python2.6 -I/usr/include/python2.6 systemId.o -L/usr/local/lib -L/opt/local/lib -pthread -lm -L/usr/local/lib -L/opt/local/lib -o nprobe nprobe-nprobe.o libnprobe.la -lresolv -ldl -lpthread -lpthread -ldl -lutil -lm -lpython2.6 -lpcap libtool: link: gcc -g -g -O2 -I/usr/local/include -I/opt/local/include -I/usr/include/python2.6 -I/usr/include/python2.6 systemId.o -pthread -o .libs/nprobe nprobe-nprobe.o -L/usr/local/lib -L/opt/local/lib ./.libs/libnprobe.so -lresolv -lpthread -ldl -lutil -lm -lpython2.6 -lpcap -pthread -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libpcap.a(pcap.o): In function `pcap_next_ex': (.text+0x13f0): multiple definition of `pcap_next_ex' nprobe-nprobe.o:/home/engadm/nprobe/foo/nprobe_6.4.3_051011/nprobe.c:3174: first defined here /usr/local/lib/libpcap.a(pcap.o): In function `pcap_breakloop': (.text+0x1364): undefined reference to `pfring_breakloop' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_set_watermark': (.text+0x48): undefined reference to `pfring_set_poll_watermark' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_get_pfring_id': (.text+0xe3): undefined reference to `pfring_get_ring_id' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_setfilter_linux_common': (.text+0x2724): undefined reference to `pfring_get_bound_device_ifindex' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_stats_linux': (.text+0x36ca): undefined reference to `pfring_stats' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_read_packet': (.text+0x387e): undefined reference to `pfring_recv' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_cleanup_linux': (.text+0x3e31): undefined reference to `pfring_close' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x449c): undefined reference to `pfring_enable_ring' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x44a8): undefined reference to `pfring_get_selectable_fd' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x4926): undefined reference to `pfring_open' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x4958): undefined reference to `pfring_set_socket_mode' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x49fd): undefined reference to `pfring_set_poll_watermark' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x4b0c): undefined reference to `pfring_enable_rss_rehash' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x4b6b): undefined reference to `pfring_set_application_name' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x4ba4): undefined reference to `pfring_set_cluster' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x4e4c): undefined reference to `pfring_set_cluster' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x4ef4): undefined reference to `pfring_set_cluster' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x5045): undefined reference to `pfring_set_cluster' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux': (.text+0x507d): undefined reference to `pfring_set_cluster' /usr/local/lib/libpcap.a(pcap-linux.o):(.text+0x50a4): more undefined references to `pfring_set_cluster' follow /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_set_application_name': (.text+0x78): undefined reference to `pfring_set_application_name' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_set_appl_name_linux': (.text+0x8d): undefined reference to `pfring_set_application_name' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_set_master': (.text+0xaf): undefined reference to `pfring_set_master' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_set_master_id': (.text+0xc8): undefined reference to `pfring_set_master_id' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_set_cluster': (.text+0x82f): undefined reference to `pfring_set_cluster' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_setdirection_linux': (.text+0x4178): undefined reference to `pfring_set_direction' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_setdirection_linux': (.text+0x4190): undefined reference to `pfring_set_direction' /usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_inject_linux': (.text+0x4229): undefined reference to `pfring_send' collect2: ld returned 1 exit status make[2]: *** [nprobe] Error 1 make[2]: Leaving directory `/home/engadm/nprobe/foo/nprobe_6.4.3_051011' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/engadm/nprobe/foo/nprobe_6.4.3_051011' make: *** [all] Error 2 thanks! On Wed, Mar 9, 2016 at 2:47 PM, Luca Deri <[email protected]> wrote: > Hi Eduardo > the library should be installed as dependency. What is the version you are > installing the stable or dev? > > Luca > >> On 09 Mar 2016, at 16:35, Eduardo <[email protected]> wrote: >> >> Hi Folks, >> >> I am on centos 6.7 64bit, installed the nprobe binary but it's missing >> a library: >> >> nprobe: error while loading shared libraries: libnetfilter_queue.so.1: >> cannot open shared object file: No such file or directory >> >> ldd confirmed ... it's the only one missing ... >> >> then I tried to compile ... autogen finishes with this error: >> >> 8. Downloading nDPI... >> nDPI already available >> 8.1 Compiling nDPI... >> ./autogen.sh: line 478: ./configure: No such file or directory >> make: *** No targets specified and no makefile found. Stop. >> nDPI compilation failed: please check errors >> >> Any ideias ? >> >> thanks! >> >> -Ed >> _______________________________________________ >> Ntop-misc mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
