Re: error compiling nfqnl_test.c

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

 



 Try to run ldconfig  If this fails ,try to edit /etc/ld.so.conf and add  /usr/local/lib  So run ldconfig again.
Att,
On 5/22/06, Frank Abel Cancio Bello <frankabel@xxxxxxxxxxxxxxxxxx> wrote:> Thanks Sebastien!>> Now the problem is when I try to run the binary, when I put on command line:>> ./nfqnl_test>> the following error happend:>> ./nfqnl_test: error while loading shared libraries: libnfnetlink.so.0: cannot> open shared object file: No such file or directory>> Nevertheless my box have theses files:> /usr/local/lib/libnfnetlink.so.0> /usr/local/lib/libnfnetlink.so.0.0.0>> Beside, when I install the libnfnetlink ("./configure;make;make install") I> get a binary of nfqnl_test.c into utils directory and when I run it all is> fine.>> Salute> Frank Abel>>> On Monday 22 May 2006 10:06 am, you wrote:> > Frank Abel Cancio Bello wrote:> > > Hi all!> > >> > > A newbie question:> > > When I try to compile "nfqnl_test.c" putting on command line:> > >> > > "gcc -Wall -o nfqnl_test nfqnl_test.c"> > >> > > the following error occur:> >> > [snip errors]> >> > you forgot to include required library symbols:> >> > gcc -Wall -o nfqnl_test nfqnl_test.c -lnfnetlink -lnetfilter_queue> >> > will do>>> __________________________________________>> XIII Convención Científica de Ingeniería y Arquitectura> 28/noviembre al 1/diciembre de 2006> Cujae, Ciudad de la Habana, Cuba> http://www.cujae.edu.cu/eventos/convencion>>

-- ===================== Rodrigo Ribeiro MontoroDesenvolvedor BRMAlinux  spooker@xxxxxxxxxx       RHCE/LPIC-I=====================

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux