Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (9cbbde905788e41e90590d6c82deefc9fa67bd51)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (9cbbde905788e41e90590d6c82deefc9fa67bd51)
  • Date: Fri, 6 Mar 2009 18:08:54 +0100

On Thu, Mar 05, 2009 at 08:11:20PM +0100, Remko van der Vossen wrote:
> On Thu, Mar 05, 2009 at 06:42:18PM +0100, Arwed von Merkatz wrote:
> > I don't think all of these actually depend on libxcb. Most of them are
> > probably just linked to it due to other libraries they use.
>
> Well regardless, the binaries in question directly link with those shared
> libraries, so they are dependencies, whichever way you look at it,
> though perhaps looking at full dependency trees would be good for the
> script, but then how do we define a direct dependency exactly? In other
> words, what is 'actually depend' and how can we determine that properly.

If you take a look at the dynamic section of a binary or library, you'll
get a list of libraries that are used directly, not just linked because
some other library links to them. To get the dynamic section, run
'readelf -d file'.
E.g. for gnome-cd, ldd lists libxcb and libxcb-xlib, but readelf -d
doesn't.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page