tcpdump mailing list archives
Re: installation of shared libraries for libpcap
From: "Adamiec, Larry" <Ladamiec () kentlaw edu>
Date: Thu, 8 May 2008 14:14:06 -0500
The docs I read was part of the ntop distribution. I did get a shared library created without editing the makefiles. I used the following sequence of commands: ./configure make shared make install-shared Larry -----Original Message----- From: tcpdump-workers-owner () lists tcpdump org [mailto:tcpdump-workers-owner () lists tcpdump org] On Behalf Of Guy Harris Sent: Wednesday, May 07, 2008 12:42 To: tcpdump-workers () lists tcpdump org Subject: Re: [tcpdump-workers] installation of shared libraries for libpcap Adamiec, Larry wrote:
I am trying to install libpcap-0.9.8 on a Sun SPARC Solaris 9 server. I need to install it with shared libraries.
That's not currently supported by our build procedure. The person who contributed that support just contributed Linux support (which might work on other platforms using the GNU linker) and Mac OS X support. A quick check seems to suggest that, although libtool is GPLed, the ltmain.sh that it generates can be distributed with a libtoolized non-GPL library (libpcap is BSD-licensed) that uses autoconf; the comment at the beginning of ltmain.sh says: # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. so we could switch to using libtool, letting us adapt to the twisty little maze of shared library building mechanisms, all different, offered to us by the twisty little maze of UN*Xes, all different, out there. That doesn't help you in the short term, however. You'll have to hack the Makefile.in file to use the appropriate commands to build a shared library - and hack the configure.in file to use the appropriate "compile position-independent code" flag on Solaris, and then re-generate the configure script, reconfigure, and build.
All the documentation says I am configuring things correctly,
Which documentation talks about building shared libraries? - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- installation of shared libraries for libpcap Adamiec, Larry (May 08)
- Re: installation of shared libraries for libpcap Guy Harris (May 08)
- Re: installation of shared libraries for libpcap Adamiec, Larry (May 08)
- Re: installation of shared libraries for libpcap Eloy Paris (May 08)
- Re: installation of shared libraries for libpcap Guy Harris (May 08)