tcpdump mailing list archives
libpcap: 64bit machine has no compatible 32-bit libpcap library
From: wen lui <esolvepolito () gmail com>
Date: Mon, 25 Mar 2013 14:15:41 +0100
I want to compile a `.c` file to 32-bit executable using `gcc` option
`-m32` with libpcap
the machine is linux 64bit fedora 16
however, I get the following error
[root@fdf source]# gcc -m32 -o test_tcp test_tcp.c -lpcap
/usr/bin/ld: skipping incompatible /usr/lib64/libpcap.so when searching
for -lpcap
/usr/bin/ld: cannot find -lpcap
collect2: ld returned 1 exit status
how to solve this problem? thanks!
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- libpcap: 64bit machine has no compatible 32-bit libpcap library wen lui (Mar 25)
- Re: libpcap: 64bit machine has no compatible 32-bit libpcap library Michael Richardson (Mar 25)
- Re: libpcap: 64bit machine has no compatible 32-bit libpcap library Guy Harris (Mar 25)
- Re: libpcap: 64bit machine has no compatible 32-bit libpcap library Michael Richardson (Mar 25)
