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
-- 
[EMAIL PROTECTED] mailing list

Reply via email to