1. download libcap source from tcpdump.org
2. install it
2.1. yum install flex
2.2. download byacc from http://invisible-island.net/byacc/byacc.html
2.3. install byacc
3. then compile a sample program will be OK. But when running it, may got an error saying cannot find libcap.so.1. To solve this, use following:
set /usr/local/lib
/usr/lib
into /etc/ld.so.conf and then execute ldconfig command.
Showing posts with label libcap. Show all posts
Showing posts with label libcap. Show all posts
Thursday, November 18, 2010
Friday, June 26, 2009
Subscribe to:
Posts (Atom)