Re: Error compiling virt-mem-2.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 14, 2008 at 11:18:21PM +0530, M.R Niranjan  wrote:
> Richard W.M. Jones wrote:
>> 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:
>>   
> Yes, libvirt is already installed,
>
> [root@dhcp7-90 virt-mem-0.3.0]# rpm -q libvirt
> libvirt-0.4.4-3.fc10.x86_64
> libvirt-0.4.4-3.fc10.i386
>
>
>>   LIBS="/some/nonstandard/path" ./configure
>>
>> If that doesn't work try LIBRARY_PATH instead of LIBS
>>   
> which path should i specify as LIBS or LIBRARY_PATH , as the libvirt rpm  
> installs libraries of libvirt in /usr/lib64.

You should give /usr/lib64 as the path.

As for why it doesn't work, though, I'm really very confused.
Obviously I don't get the error you're seeing, and I don't understand
how something as simple as '-lvirt' can fail if you have libvirt
installed.

Have you tried using our binaries?  Might be easier than trying to
build it:

  https://bugzilla.redhat.com/show_bug.cgi?id=450713

Also, the new version I'm preparing is much less alpha than the one
you are trying to build.  If you can wait until after this weekend,
you may find a much better / more practical version for your needs.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 60 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux