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

M.R Niranjan mniranjan at redhat.com
Sat Aug 16 05:04:06 UTC 2008


Richard W.M. Jones wrote:
> 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 at 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.
>
>   
I will wait for some more time, till you release the updated version, 
is it possible to have a binary RPM ?

Regards
Niranjan




More information about the et-mgmt-tools mailing list