From owner-freebsd-ports Wed Aug 26 13:48:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14205 for freebsd-ports-outgoing; Wed, 26 Aug 1998 13:48:19 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13972; Wed, 26 Aug 1998 13:48:15 -0700 (PDT) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA132860522; Wed, 26 Aug 1998 15:42:02 -0400 Date: Wed, 26 Aug 1998 15:42:02 -0400 (EDT) From: Bill Fumerola Reply-To: Bill Fumerola To: Dave Dittrich Cc: ports@openbsd.org, ports@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Shared libraries in packages In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am currently running FreeBSD, which is where I wrote the port. billf@jade$ uname -a FreeBSD jade.chc-chimes.com 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Mon Aug 17 10:00:36 EDT 1998 billf@jade.chc-chimes.com:/usr/cvs-update/src/sys/compile/JADED i386 See below.. On Wed, 26 Aug 1998, Dave Dittrich wrote: > I'm trying to load some of the network diagnostic tools, e.g. "ntop". > This package seems to want a shared library that doesn't exist anywhere I can > find: > > sunhost# ntop > /usr/libexec/ld.so: ntop: libpcap.so.2.2: No such file or directory > > sunhost# ldconfig -r | grep libpcap > 40:-lpcap.0.2 => /usr/lib/libpcap.so.0.2 billf@jade$ ldconfig -r | grep libpcap 118:-lpcap.2.2 => /usr/lib/libpcap.so.2.2 > sunhost# ls /usr/local/src | grep pcap > libpcap > libpcap-0.4 > pcapture-0.2.1 billf@jade$ pwd /usr/src/contrib/libpcap billf@jade$ cat README | head -7 @(#) $Header: README,v 1.15 96/07/07 22:38:34 leres Exp $ (LBL) LIBPCAP 0.2.1 Lawrence Berkeley National Laboratory Network Research Group libpcap@ee.lbl.gov ftp://ftp.ee.lbl.gov/libpcap.tar.Z billf@jade$ > So the one that comes with OpenBSD is old (0.2) and that I have as a static > library is what I thought was the newest (the code from LLNL, the authors of > libpcap, is only version 0.4.) Where did 2.2 come from? I can't honestly say why FreeBSD installs it as 2.2, though I am crossposting this to see why... (hi guys)... > There are some other packages that have similar shared library > dependancies. What is the best solution for this (telling me to just get > source code is fine, I guess, but this seems like an issue that affects any > pre-compiled packages with shared libraries and will end up biting more people > than just me. Refresh my memory, if a program has 'shared libraries' then aren't they build INTO the binary, so there are no dependencies at runtime, though I could be wrong. Again, I am sincerly sorry it doesn't work "out of the box" with OpenBSD, and hopefully my crossposting will give you some closure. - bill fumerola [root/billf]@chc-chimes.com - computer horizons corp - - ph:(800)252.2421 x128 / bfumerol@computerhorizons.com - BF1560 - "Logic, like whiskey, loses its beneficial effect when taken in too large quantities" -Lord Dunsany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message