FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 08-14-2008, 08:38 PM
"Richard W.M. Jones"
 
Default Error compiling virt-mem-2.8

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@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 08-16-2008, 06:04 AM
"M.R Niranjan "
 
Default Error compiling virt-mem-2.8

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@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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 08-17-2008, 09:32 PM
"Richard W.M. Jones"
 
Default Error compiling virt-mem-2.8

On Sat, Aug 16, 2008 at 10:34:06AM +0530, M.R Niranjan wrote:
> I will wait for some more time, till you release the updated version, is
> it possible to have a binary RPM ?

Sure ... I'll be building binaries for 0.3.1 on Tuesday, or whenever
the Fedora infrastructure comes back to life.

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/

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 08-25-2008, 03:41 PM
"Richard W.M. Jones"
 
Default Error compiling virt-mem-2.8

Here's a build of 0.3.1:

http://koji.fedoraproject.org/koji/taskinfo?taskID=784664

It failed on ppc64, I think simply because the compiler ran out of
memory compiling one of the biggest source files (kernel.ml which
corresponds to the kernel database).

But it should be OK to use the i686 RPM on 32 bit guests.

You should read the FAQ:

http://et.redhat.com/~rjones/virt-mem/faq.html

Rich.

--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

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

Thread Tools




All times are GMT. The time now is 02:26 AM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org