Harika mysql adds this dependency. Please install tcp-wrappers-libs and everything should work
Cheers Luca On Oct 12, 2011, at 11:00 PM, Harika Tandra wrote: > Dear all, > > I am trying to install nprobe 6.0.3 on Centos platform (kernel > 2.6.32-71.el6.x86_64). I successfully installed pf_ring and DNA driver for > intel 10G card. But am unable to resolve the below nprobe compilation error > (on running make) : > > /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -pipe > -I/usr/local/include -I/opt/local/include -g -O2 -pipe -I/usr/local/include > -I/opt/local/include -L/usr/local/lib -L/opt/local/lib -release 6.0.0 > -export-dynamic -L/usr/local/lib -L/opt/local/lib -o libnprobe.la -rpath > /usr/local/lib collect.lo engine.lo export.lo database.lo fb.lo globals.lo > plugin.lo sflow_collect.lo util.lo version.lo -lpfring -lresolv -ldl > -lpthread -lsqlite3 -lpthread -ldl -lutil -lm -lpython2.6 -rdynamic > -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl > -lcrypto -lwrap -L/usr/local/lib -lpcap > 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 -L/usr/local/lib > -L/opt/local/lib -lpfring -lresolv -lsqlite3 -lpthread -ldl -lutil > -lpython2.6 -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm > -L/usr/lib64 -lssl -lcrypto -lwrap -lpcap -Wl,-soname > -Wl,libnprobe-6.0.0.so -o .libs/libnprobe-6.0.0.so > /usr/bin/ld: cannot find -lwrap > collect2: ld returned 1 exit status > make[2]: *** [libnprobe.la] Error 1 > make[2]: Leaving directory `/home/gregscole/nprobe_6.0.0_093010' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/gregscole/nprobe_6.0.0_093010' > make: *** [all] Error 2 > > > Please let me know your suggestions to help fix this. > > > Thank you. > Harika Tandra > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc --- Keep looking, don't settle - Steve Jobs _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
