From owner-freebsd-questions Sat Jul 3 10: 6:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ucsu.Colorado.EDU (ucsu.Colorado.EDU [128.138.129.83]) by hub.freebsd.org (Postfix) with ESMTP id BB5EB14EEC for ; Sat, 3 Jul 1999 10:06:47 -0700 (PDT) (envelope-from doranj@ucsu.Colorado.EDU) Received: (from doranj@localhost) by ucsu.Colorado.EDU (8.9.3/8.9.3/ITS-5.0/standard) id LAA16822; Sat, 3 Jul 1999 11:06:40 -0600 (MDT) From: Jonathon Doran Message-Id: <199907031706.LAA16822@ucsu.Colorado.EDU> Subject: Re: Which shared libraries is a binary linked against? To: matt@zigg.com (Matt Behrens) Date: Sat, 3 Jul 1999 11:06:40 -0600 (MDT) Cc: questions@FreeBSD.ORG In-Reply-To: from "Matt Behrens" at Jul 3, 99 11:52:45 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've been RTFMing for awhile now and can't seem to find a way to > determine which shared libraries any arbitrary binary depends on. > Is there a way? How about this: strings "binary" | fgrep ".so." Where "binary" is the name of your arbitrary binary. Jon Doran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message