Fix For: conntrack: error while loading shared libraries: libnetfilter_conntrack.so.1: cannot open shared object file: No such file or directory

Marcus Aurelius hellou at gmail.com
Fri Nov 18 21:28:10 CET 2005


hello,
    I installed conntrack with the steps below along with a custom
build of the 2.6.14.2 kernel and had the error above when I type:
conntrack
    I was only able to resolve the error by doing:
 ln -s /usr/local/lib/libnfnetlink.so.0 /lib/libnfnetlink.so.0
 ln -s /usr/local/lib/libnetfilter_conntrack.so.1
/lib/libnetfilter_conntrack.so.1

 is the conntrack-0.99 Makefile the entry libdir = ${exec_prefix}/lib
seemed ok, so I don't know why conntrack would not see /usr/local/lib,
any ideas?

 regards,
 Jai Ragoo

 #########Build process##########
 wget http://netfilter.org/projects/libnfnetlink/files/libnfnetlink-0.0.13.tar.bz2
 wget http://netfilter.org/projects/libnetfilter_log/files/libnetfilter_log-0.0.12.tar.bz2
 wget http://netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-0.0.11.tar.bz2
 wget http://netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-0.0.28.tar.bz2
 wget http://netfilter.org/projects/conntrack/files/conntrack-0.99.tar.bz2

 tar -jvxf libnfnetlink-0.0.13.tar.bz2
 cd libnfnetlink-0.0.13
 ./configure --with-kernel=/usr/src/linux-2.6.14.2
 make && make install

 cd /usr/src

 tar -jvxf libnetfilter_log-0.0.12.tar.bz2
 cd libnetfilter_log-0.0.12
 ./configure
 make && make install


 cd /usr/src
 tar -jvxf libnetfilter_queue-0.0.11.tar.bz2
 cd libnetfilter_queue-0.0.11
 ./configure
 make
 make install


 cd /usr/src
 tar -jvxf libnetfilter_conntrack-0.0.28.tar.bz2
 cd libnetfilter_conntrack-0.0.28
 ./configure
 make && make install

 cd /usr/src
 tar -jvxf conntrack-0.99.tar.bz2
 cd conntrack-0.99
 ./configure
 make &&make install


More information about the netfilter mailing list