Subject: Re: build failure in devel/glibmm
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: pkgsrc-users
Date: 08/29/2006 19:14:42
On Tue, Aug 29, 2006 at 01:05:37PM -0400, Steven M. Bellovin wrote:
> On Tue, 29 Aug 2006 18:34:56 +0200, Bernd Ernesti <netbsd@lists.veego.de>
> wrote:
> 
> 
> > > How can I find such packages?  Pkgsrc dependencies show things in pkgsrc,
> > > not those in the base system.  I suppose I could run 'find' and locate
> > > all executables in /usr/pkg...
> > 
> > That is not so easy. I usually change to /usr/pkg/lib and execute a
> >  ldd *.so | less
> > and search for the old library.
> > That may not find all libaries, because not all of the shared libaries
> > have one which ends with .so but the majority have such a file.
> > This avoids to get multiple matches for the same library, because
> > of the symlinks there.
> 
> That's what I was afraid you were going to say....

Joerg had a better idea, see his mail.

Where I had to modify it a little (removing the backslash in front of the
plus):

grep "REQUIRES.*libstdc++\.so\.5" /var/db/pkg/*/+BUILD_INFO

Bernd