Re: nfulnl_test doesn't work on Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Eric,

  Thanks, now did  sudo, this is what I get;

 gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$
sudo ./nfulnl_test
[sudo] password for gakumar:
/home/gakumar/PacketFilter/libnetfilter_log-1.0.0/utils/.libs/lt-nfulnl_test:
error while loading shared libraries: libnfnetlink.so.0: cannot open
shared object file: No such file or directory
gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$
echo $LD_LIBRARY_PATH
/opt/qnx641/host/linux/x86/usr/lib:/opt/qnx650/host/linux/x86/usr/lib:/usr/local/lib/
gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$

gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$
ls /usr/local/lib/
libnetfilter_log.a                   libnetfilter_log_libipulog.so.1
   libnfnetlink.a                       pkgconfig/
libnetfilter_log.la
libnetfilter_log_libipulog.so.1.0.0  libnfnetlink.la
   python2.6/
libnetfilter_log_libipulog.a         libnetfilter_log.so
   libnfnetlink.so
libnetfilter_log_libipulog.la        libnetfilter_log.so.1
   libnfnetlink.so.0
libnetfilter_log_libipulog.so        libnetfilter_log.so.1.1.0
   libnfnetlink.so.0.2.0
gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$


wondering why its not able to locate the .so

Thanks,
Ganesh


On 2/23/12, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> Le jeudi 23 février 2012 à 13:05 +0530, Ganesh Kumar a écrit :
>> Hi Eric,
>>
>>    Thanks for a fast reply.
>> I tried modprobe nfnetlink_log
>>
>> this is what I get in dmesg
>>
>> [2054919.049919] Netfilter messages via NETLINK v0.30.
>>
>> gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$
>> ./nfulnl_test
>> binding nfnetlink_log to AF_INET
>> error during nflog_bind_pf()
>> gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$
>>
>> These are the contents of
>> gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$
>> ls /usr/local/lib/
>> libnetfilter_log.a                   libnetfilter_log_libipulog.so.1
>>    libnfnetlink.a                       pkgconfig/
>> libnetfilter_log.la
>> libnetfilter_log_libipulog.so.1.0.0  libnfnetlink.la
>>    python2.6/
>> libnetfilter_log_libipulog.a         libnetfilter_log.so
>>    libnfnetlink.so
>> libnetfilter_log_libipulog.la        libnetfilter_log.so.1
>>    libnfnetlink.so.0
>> libnetfilter_log_libipulog.so        libnetfilter_log.so.1.1.0
>>    libnfnetlink.so.0.2.0
>> gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$
>>
>> Hope its installed properly.
>> anything else I need to fix/check
>>
>
> You have to be root
>
> sudo ./nfulnl_test
>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

Powered by Linux