Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 13 Dec 2017, 09:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
libpcap-0.9.8 & tcpdump-3.9.8 pet packages
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
mohan34u


Joined: 14 Nov 2007
Posts: 67

PostPosted: Sun 30 Dec 2007, 06:47    Post subject:  libpcap-0.9.8 & tcpdump-3.9.8 pet packages
Subject description: Latest libpcap & tcpdump
 

This is my first Pet packages. If something went wrong please correct me.
libpcap-0.9.8-i486.pet
Description 
pet

 Download 
Filename  libpcap-0.9.8-i486.pet 
Filesize  171.03 KB 
Downloaded  665 Time(s) 

Last edited by mohan34u on Mon 07 Jan 2008, 06:41; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Thu 03 Jan 2008, 22:46    Post subject:  

mohan34u

Packages that require libpcap looks for the share object version (eg libpcap.so.0.9.Cool. Unfortunately the usual ./configure , make , make install when performed on the libpcap source creates a static library (libpcap.a).

To generate the share library run the following command after running make install
gcc -shared -Wl,-soname,libpcap.so.0 -o libpcap.so.0.9.8 *.o

you can then reduce the size with "strip" as follows and include it in your package
strip --strip-unneeded libpcap.so.0.9.8

This always use to drive me crazy until I Googled it and came upon this page https://svn.ntop.org/trac/wiki/FC4
Back to top
View user's profile Send private message 
mohan34u


Joined: 14 Nov 2007
Posts: 67

PostPosted: Fri 04 Jan 2008, 00:59    Post subject: Thanks for your kind info  

Jcoder,

Thanks for your kind information.. I will follow these commands when I compile tcpdump for the next time..
Back to top
View user's profile Send private message Visit poster's website 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Fri 04 Jan 2008, 08:30    Post subject:  

Your tcpdump package appears to be compiled with libpcap built in so it wouldn't need the shared version.

However, for programs like wireshark, dynamips and others these will not compile without a shared version. That's why I had to compile it as indicated above after downloading your package and not finding libpcap.so.0.9.8.

You can leave tcpdump as is but I'd recommed repackaging libpcap.
Back to top
View user's profile Send private message 
mohan34u


Joined: 14 Nov 2007
Posts: 67

PostPosted: Mon 07 Jan 2008, 02:01    Post subject: libpcap.so.0.9.8 (Updated libpcap-0.9.8.pet package)
Subject description: libpcap shared library with pet package
 

Thanks jcoder,

I updated the libpcap-0.9.8.pet with your suggession.
libpcap-0.9.8-i486.pet
Description  libpcap.so.0.9.8(libpcap-0.9.8-i486.pet)
pet

 Download 
Filename  libpcap-0.9.8-i486.pet 
Filesize  171.03 KB 
Downloaded  663 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0371s ][ Queries: 12 (0.0066s) ][ GZIP on ]