[Libguestfs] shared library path

Richard W.M. Jones rjones at redhat.com
Tue Jun 26 08:25:02 UTC 2012


On Tue, Jun 26, 2012 at 04:19:03PM +0800, Wanlong Gao wrote:
> On 06/26/2012 03:48 PM, Richard W.M. Jones wrote:
> >   printenv | grep LD_
> >   which virt-sysprep
> >   ldd `which virt-sysprep`
> >   eu-readelf -d `which virt-sysprep`
> >   chrpath `which virt-sysprep`
> 
> I just did "make install", and the libguestfs.so.0 installed under "/usr/local/lib/",
> but virt-sysprep needs a lib path "/lib64/libguestfs.so.0", and it can't find out
> the lib under "/usr/local/lib" ? Is it a virt-sysprep bug or install path bug?

I've no idea.  What about the commands above?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list