Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: daxm on April 25, 2009, 12:07:15 AM
-
I've got an application I'm trying to run on TinyCore that requires libpcap.so.0.8.3 bug the only version I can find in the repositories is libpcap v0.9.8.
Can anyone advise me what to do?
-
Compile that version using compiletc.tce?
-
So this helps me make libpcap (it appears) but how do I make a tce out of it?
-
For anyone who needs this library too here is what worked for me:
install compiletc.tce
download libpcap-0.8.3.tar.gz from archives at www.tcpdump.org to /tmp
as root:
cd /tmp
tar -zxvf libpcap-0.8.3.tar.gz
cd libpcap-0.8.3
./configure
make
ld -shared -o libpcap.so.0.8.3 *.o
mv libpcap.so.0.8.3 /usr/lib
ldconfig
if needed:
vi opt/.filetools.lst
add usr/lib/libpcap.so.0.8.3
if you want to keep your linux small, ftp off the libpcap.so.0.8.3 and upload it to /usr/lib on a fresh TC machine (no need for the compiletc.tce). Don't forget to run ldconfig too.
-
So this helps me make libpcap (it appears) but how do I make a tce out of it?
Please see the wiki page on creating extensions.