Hi All,
        I have recently installed PF_RING using the yum method. Then I just
try out some edits on the original pfcount.c and tried to compile it. What
I find here is that there is a must for -lpcap to be included when I need
to compile whereas I just need the pf_ring to. Next thing after I include
it then I tried to I got this error.


gcc -o pf1 pfcount.c -lpfring -lrt -lpcap
[root@localhost bin]# ./pf1
./pf1: error while loading shared libraries: libpfring.so: cannot open
shared object file: No such file or directory

 The funny thing here I got into /usr/local/lib and just rename to the
original libpfring.so to any other name it start to work. I do not know
what bug is that and I have also done the setting for ld.so.conf to pick
from /usr/local/lib . Why by renaming it works and also need to include
lpcap when I dont need it.
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to