Snort mailing list archives
Re: libpcap not found by configure
From: Edin Dizdarevic <edin.dizdarevic () interActive-Systems de>
Date: Fri, 22 Aug 2003 13:02:08 +0200
Hi, James Schnack wrote:
Guillaume, thanks for your reply. I had already tested with and without the trailing slash, but that did not change things... :-( Great suggestion the one regarding strace... I installed it and ran it, but it really does not show anything like *where* it's looking for the libraries (at least, not to me; there's not much text in the output... it's mainly hex addresses, pointer values, and the like). Any other ideas, out there ?
Well...
try this:
[root@ed snort-2.0.1]# strace -f `pwd`/configure 2>&1 | grep pcap
"-f" stands for follow forks. You didn't see it because configure is
starting subshells for some tests so this ist the output on my system.
write(1, "checking for pcap_datalink in -l"..., 40checking for
pcap_datalink in -lpcap... ) = 40
[pid 5344] execve("/usr/bin/gcc", ["gcc", "-o", "conftest", "-g",
"-O2", "-Wall", "conftest.c", "-lpcap", "-lm", "-lnsl"], [/* 36 vars
*/]) = 0
[pid 5404] write(1, "LIBS=\'-lpcap -lm -lnsl \'\n", 25) = 25
[pid 5408] write(1, "LIBS=\'-lpcap -lm -lnsl \'\n", 25) = 25
[pid 5408] write(1, "ac_cv_lib_pcap_pcap_datalink=yes"..., 33) = 33
[pid 5408] write(1, "extra_incl=-I/usr/include/pcap\n", 31) = 31
[pid 5408] write(1, "with_libpcap_includes=no\n", 25) = 25
[pid 5408] write(1, "with_libpcap_libraries=no\n", 26) = 26
[pid 5404] write(1, "ac_cv_lib_pcap_pcap_datalink=yes"..., 33
<unfinished ...>
[pid 5410] <... read resumed> "ac_cv_lib_pcap_pcap_datalink=yes"...,
4096) = 33
[pid 5404] write(1, "extra_incl=-I/usr/include/pcap\n", 31 <unfinished ...>
[pid 5410] <... read resumed> "extra_incl=-I/usr/include/pcap\n", 4096)
= 31
[pid 5404] write(1, "with_libpcap_includes=no\n", 25 <unfinished ...>
[pid 5410] <... read resumed> "with_libpcap_includes=no\n", 4096) = 25
[pid 5404] write(1, "with_libpcap_libraries=no\n", 26 <unfinished ...>
[pid 5410] <... read resumed> "with_libpcap_libraries=no\n", 4096) = 26
[pid 5912] write(1, "LIBS=\'-lpcap -lm -lnsl \'\n", 25) = 25
[pid 5916] write(1, "LIBS=\'-lpcap -lm -lnsl \'\n", 25) = 25
[pid 5916] write(1, "ac_cv_lib_pcap_pcap_datalink=yes"..., 33) = 33
[pid 5916] write(1, "extra_incl=-I/usr/include/pcap\n", 31) = 31
[pid 5916] write(1, "with_libpcap_includes=no\n", 25) = 25
[pid 5916] write(1, "with_libpcap_libraries=no\n", 26) = 26
[pid 5912] write(1, "ac_cv_lib_pcap_pcap_datalink=yes"..., 33) = 33
[pid 5912] write(1, "extra_incl=-I/usr/include/pcap\n", 31) = 31
[pid 5912] write(1, "with_libpcap_includes=no\n", 25 <unfinished ...>
[pid 5918] <... read resumed> "with_libpcap_includes=no\n", 4096) = 25
[pid 5912] write(1, "with_libpcap_libraries=no\n", 26 <unfinished ...>
[pid 5918] <... read resumed> "with_libpcap_libraries=no\n", 4096) = 26
Regards,
Edin
Regards, James
-- Edin Dizdarevic ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Re: libpcap not found by configure Edin Dizdarevic (Aug 22)
