[Oisf-users] Question about Suricata installation
Victor Julien
lists at inliniac.net
Tue Jun 25 10:58:46 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/25/2013 12:55 PM, Eric Leblond wrote:
> Hi,
>
> Le mardi 25 juin 2013 à 12:51 +0200, Eric Leblond a écrit :
>> Hi,
>>
>> Le mardi 25 juin 2013 à 17:04 +0700, Vi Le Quoc. Vo a écrit :
>>> Dear Julien,
>>>
>>> I send you the log file. Please help me to solve it. Thank
>>> you.
>>
>> In your config.log you have $ ./configure --enable-nfqueue
>> --with-libnetfilter_queue-includes=/usr/local/lib
>> --with-libnetfilter_queue-libraries=/usr/local/lib but you
>> mentioned something like /usr/local/include/libnetfilter_queue/
>> in your first mail.
>>
>> Please adjust the paths in --with-** to your system.
>
> By the way, --with-libnetfilter_queue-includes=/usr/local/lib is
> usually something like
> --with-libnetfilter_queue-includes=/usr/local/include
And don't forget:
- --with-libnfnetlink-includes=DIR libnfnetlink include directory
- --with-libnfnetlink-libraries=DIR libnfnetlink library directory
The error in the config log suggests it can't find nfnetlink:
configure:14588: checking for nfq_open in -lnetfilter_queue
configure:14613: gcc -o conftest -g -O2 -DRELEASE -Wextra -Wall
- -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99
- -DNFQ -I/usr/local/lib -L/usr/local/lib conftest.c
- -lnetfilter_queue -lnfnetlink -lpthread -lyaml -lpcre >&5
/usr/local/lib/libnetfilter_queue.so: undefined reference to
`mnl_attr_put'
/usr/local/lib/libnetfilter_queue.so: undefined reference to
`mnl_attr_validate2'
/usr/local/lib/libnetfilter_queue.so: undefined reference to
`mnl_attr_type_valid'
/usr/local/lib/libnetfilter_queue.so: undefined reference to
`mnl_attr_parse'
/usr/local/lib/libnetfilter_queue.so: undefined reference to
`mnl_attr_validate'
/usr/local/lib/libnetfilter_queue.so: undefined reference to
`mnl_attr_put_u32'
/usr/local/lib/libnetfilter_queue.so: undefined reference to
`mnl_attr_get_type'
collect2: ld returned 1 exit status
- --
- ---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
- ---------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlHJd+IACgkQiSMBBAuniMd0ZwCbBnF+v3nzHmkpm3+2/ywJHmtH
nC8An2rM0Od7XEvnLHF6lephcAePkv1C
=81Am
-----END PGP SIGNATURE-----
More information about the Oisf-users
mailing list