Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Peter Stuge <peter@...>
Subject: Re: Re: Problem with ROOT
Date: Sun, 28 Oct 2007 03:24:00 +0100
On Sat, Oct 27, 2007 at 10:01:19PM +0200, Marc Blumentritt wrote:
> AFAIK you can compile binaries either static, which would include
> all needed libs into the binary,

Yes, as long as all required libraries are available as static libs.


> or you compile with shared libs, which are pulled in at runtime.

Right.


> Could you explain why, why there are static libs? Are they needed
> as build time dependencies, when you compile static bins?

Correct.


You can use ldd binary (e.g. ldd /usr/bin/mplayer) to verify which
dynamic libraries are needed for a binary. Note that one library may
depend on other libraries, the default output of ldd is the aggregate
of all dependencies - ie. what is needed to execute it, rather than
what it was built against.


//Peter
-- 
gentoo-embedded@g.o mailing list


References:
Problem with ROOT
-- Marc Blumentritt
Re: Problem with ROOT
-- Jason
Re: Problem with ROOT
-- Marc Blumentritt
Re: Re: Problem with ROOT
-- Jason
Re: Problem with ROOT
-- Marc Blumentritt
Re: Re: Problem with ROOT
-- Jason
Re: Problem with ROOT
-- Marc Blumentritt
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Problem with ROOT
Next by thread:
Re: Problem with ROOT
Previous by date:
Re: Problem with ROOT
Next by date:
Re: busybox init scripts


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.