Subject: Re: Re: library dependencies ?
To: None <current-users@netbsd.org>
From: Feico Dillema <feico@pasta.cs.uit.no>
List: current-users
Date: 06/03/2001 14:17:24
On Sat, Jun 02, 2001 at 07:59:25PM -0700, Space Case wrote:
> On Jun 2,  8:00pm, Frederick Bruckman wrote:
> >Here's a shell function that should work with sh or bash (but I've
> >only tested it with /usr/bin/ksh)...
> >
> >find_broke ()
> >{
> >    for e in $@
> >      do
> >        ldd $e 2> /dev/null |
> >        grep -q "not found" &&
> >        echo $e
> >      done
> >}
> 
> Thanks, everybody, for the ideas.  Now it's time to clean out the libs
> (and obsolete executables, too, I've found ;-).

Hmmm, maybe the pkgsrc people could add a `make update-broken-libs' to
the system that checks for broken lib links of installed pkgs and updates
these packages?

Feico.