[maemo-developers] libpcap not found?

From: Kwan Hong Lee kwan at media.mit.edu
Date: Thu Feb 14 06:18:36 EET 2008
Hi,

I passed the host-gcc problem by using "python2.5 setup.py build" and by
following:
http://maemogeek.blogspot.com/2007/11/installing-qemu-arm-eabi-patch-into.html

But even after I did apt-get install libpcap0.8 and even though /usr/lib
contains libpcap.so
I get the following error that the library is not found.  /usr/lib is
specified in the library path.

Any ideas???  Thank you.

g++ -pthread -shared build/temp.linux-armv5tel-2.5/pcapdumper.o
build/temp.linux-armv5tel-2.5/bpfobj.o build/temp.linux-armv5tel-2.5/pcapy.o
build/temp.linux-armv5tel-2.5/pcapobj.o
build/temp.linux-armv5tel-2.5/pcap_pkthdr.o
-L/lib -L/usr/lib -L/usr/lib/python2.5 -L/usr/lib -lpcap -lpython2.5 -o
build/lib.linux-armv5tel-2.5/pcapy.so
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lpcap
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

-kwan


-- 
http://www.media.mit.edu/~kwan/info.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080213/451b2edc/attachment.htm 
More information about the maemo-developers mailing list