[et-mgmt-tools] Error compiling virt-mem-2.8

Richard W.M. Jones rjones at redhat.com
Thu Aug 14 16:02:32 UTC 2008


On Thu, Aug 14, 2008 at 07:42:33PM +0530, M.R Niranjan  wrote:
> /usr/bin/ld: cannot find -lvirt
> collect2: ld returned 1 exit status
> Error during linking

You have got libvirt installed, right?  If you installed libvirt on
some non-standard path then you may need to tell configure where it
is.  I think you need to do:

  LIBS="/some/nonstandard/path" ./configure

If that doesn't work try LIBRARY_PATH instead of LIBS.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the et-mgmt-tools mailing list