Subject: Re: libkvm programs with different behaviour
To: None <port-arm32@netbsd.org>
From: Stefan Voss <voss@yoda.in-berlin.de>
List: port-arm32
Date: 12/13/1998 10:35:54
In message <199812062125.VAA21886@sun52.NIS.cambridge>,
      Richard Earnshaw wrote:

> > > netstat is dynamically linked, whereas ps is statically linked.  Are you
> > > installing the new libkvm.so? 
> > 
> > Yes, I think I do. I do 'make' and 'make install' in /usr/src/lib. I'll try
> > and see if linking statically and linking dynamically makes a difference.
> 
> Ah, I suspect you aren't rerunning ldconfig after installing the new 
> shared libs.  This has always been needed in the past, but I think Jason 
> Thorpe recently checked in a change to the make file rules to do this 
> automatically on a make install.

I have built some kvm programs again with a rerun of ldconfig. The result
remains the same. The dynamically linked versions fail at kvm_openfiles(),
the statically linked versions run ok.

> 
> Richard.
> 

Regards,
   Stefan

-- 
Stefan Voss
(voss@yoda.in-berlin.de)