 |
Puppy Linux Discussion Forum Puppy home page: puppylinux.com
|
The time now is Fri 20 Nov 2009, 17:52
All times are UTC - 4 |
| Author |
Message |
mohan34u

Joined: 14 Nov 2007 Posts: 67
|
Posted: 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.
| Description |
|

Download |
| Filename |
libpcap-0.9.8-i486.pet |
| Filesize |
171.03 KB |
| Downloaded |
103 Time(s) |
| Description |
tcpdump
|

Download |
| Filename |
tcpdump-3.9.8-i486.pet |
| Filesize |
304.67 KB |
| Downloaded |
113 Time(s) |
Last edited by mohan34u on Mon 07 Jan 2008, 06:41; edited 1 time in total
|
|
Back to top
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: Thu 03 Jan 2008, 22:46 Post subject:
|
|
mohan34u
Packages that require libpcap looks for the share object version (eg libpcap.so.0.9. . 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
|
|
 |
mohan34u

Joined: 14 Nov 2007 Posts: 67
|
Posted: 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
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: 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
|
|
 |
mohan34u

Joined: 14 Nov 2007 Posts: 67
|
Posted: 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.
| Description |
libpcap.so.0.9.8(libpcap-0.9.8-i486.pet)
|

Download |
| Filename |
libpcap-0.9.8-i486.pet |
| Filesize |
171.03 KB |
| Downloaded |
111 Time(s) |
|
|
Back to top
|
|
 |
|
|
|
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.3177s ][ Queries: 9 (0.0103s) ][ Debug on ] |