Subject: Re: libtool & intra-library linking
To: Frederick Bruckman <fb@enteract.com>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-pkg
Date: 09/20/2000 15:08:33
On Wed, 20 Sep 2000, Frederick Bruckman wrote:

: It looks likes Shared*Reqs are only defined, in bsdLib.tmpl,
: conditionally on ELF. Maybe no one thought to try it on a.out.
: I'll try building xsrc with the defines moved outside of "#ifndef
: UseElfFormat ... #else ... #endif", and see what happens.

Probably an oversight because NetBSD's "better" a.out format wasn't
considered when this went into bsdLib.tmpl.

: What about "ldd"?
: 
: root@1ton-> ldd /usr/X11R6/lib/libXt.so.6.0 
: ldd: /usr/X11R6/lib/libXt.so.6.0: not a dynamic executable
: 
: For interlibrary depencies on a.out to be A-OK, "ldd" should grok
: them, too.

ldd on a.out doesn't understand shared objects (ELF loads shared objects
very differently from a.out, so ldd just doesn't have the necessary
support).  You have to ldd a resultant executable.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  http://www.wasabisystems.com/
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.