[libvirt] Cannot compile libvirt

Hi, I am new to libvirt and I am trying to compile libvirt from the git repository. I mainly plan to use it for managing ESX server. However I get the following error during make. *"libvirt undefined reference to virNetTLSInit"* Here are the steps which I took. 1. Get the code. git clone git://libvirt.org/libvirt.git 2. Run autogen ./autogen.sh --without-xen --with-esx --without-numactl --without-remote --without-libvirtd --without-one --without-openvz --without-qemu --without-uml --without-phyp --without-vbox --without-lxc --without-one --without-test --without-network --without-selinux --with-python 3. make Looks like the following commit somehow separated the gnutls symbols. *commit 83d7e4e4607a96b6959a6b0afd44a10a783fd928 Author: Daniel P. Berrange <berrange@redhat.com> Date: Wed Mar 13 13:37:29 2013 +0000 Use separate symbol file for GNUTLS symbols* How can I successfully compile libvirt ? Thanks, Abhishek

On 07/24/2013 11:24 PM, Abhishek Sharma wrote:
Hi,
I am new to libvirt and I am trying to compile libvirt from the git repository. I mainly plan to use it for managing ESX server. However I get the following error during make.
/"libvirt undefined reference to virNetTLSInit"/
Here are the steps which I took.
1. Get the code. git clone git://libvirt.org/libvirt.git <http://libvirt.org/libvirt.git> 2. Run autogen ./autogen.sh --without-xen --with-esx --without-numactl --without-remote --without-libvirtd --without-one --without-openvz --without-qemu --without-uml --without-phyp --without-vbox --without-lxc --without-one --without-test --without-network --without-selinux --with-python
3. make
Looks like the following commit somehow separated the gnutls symbols.
/commit 83d7e4e4607a96b6959a6b0afd44a10a783fd928 Author: Daniel P. Berrange <berrange@redhat.com <mailto:berrange@redhat.com>> Date: Wed Mar 13 13:37:29 2013 +0000
Use separate symbol file for GNUTLS symbols/
How can I successfully compile libvirt ?
Try building it --with-remote, it seems we assume that in quite a few places. Jan

Thanks Jan, Yes it worked when I removed --without-remote. Thanks for your help. Cheers, Abhishek On Thu, Jul 25, 2013 at 12:37 AM, Ján Tomko <jtomko@redhat.com> wrote:
On 07/24/2013 11:24 PM, Abhishek Sharma wrote:
Hi,
I am new to libvirt and I am trying to compile libvirt from the git repository. I mainly plan to use it for managing ESX server. However I get the following error during make.
/"libvirt undefined reference to virNetTLSInit"/
Here are the steps which I took.
1. Get the code. git clone git://libvirt.org/libvirt.git <http://libvirt.org/libvirt.git> 2. Run autogen ./autogen.sh --without-xen --with-esx --without-numactl --without-remote --without-libvirtd --without-one --without-openvz --without-qemu --without-uml --without-phyp --without-vbox --without-lxc --without-one --without-test --without-network --without-selinux --with-python
3. make
Looks like the following commit somehow separated the gnutls symbols.
/commit 83d7e4e4607a96b6959a6b0afd44a10a783fd928 Author: Daniel P. Berrange <berrange@redhat.com <mailto: berrange@redhat.com>> Date: Wed Mar 13 13:37:29 2013 +0000
Use separate symbol file for GNUTLS symbols/
How can I successfully compile libvirt ?
Try building it --with-remote, it seems we assume that in quite a few places.
Jan

On 07/25/2013 10:17 AM, Abhishek Sharma wrote:
Thanks Jan,
[please don't top-post on technical lists]
Yes it worked when I removed --without-remote.
Good to know. That said, we should still fix things before 1.1.1 is released to fix this bug, so that future users don't have to figure out the magic configure option to use.
2. Run autogen ./autogen.sh --without-xen --with-esx --without-numactl --without-remote --without-libvirtd --without-one --without-openvz --without-qemu --without-uml --without-phyp --without-vbox --without-lxc --without-one --without-test --without-network --without-selinux --with-python
How can I successfully compile libvirt ?
Try building it --with-remote, it seems we assume that in quite a few places.
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

Since I am new to this mailing list, I am not sure what is the procedure of tracking bugs/enhancements like this. Should I go ahead and file a bug at https://bugzilla.redhat.com/ ? On Thu, Jul 25, 2013 at 9:22 AM, Eric Blake <eblake@redhat.com> wrote:
On 07/25/2013 10:17 AM, Abhishek Sharma wrote:
Thanks Jan,
[please don't top-post on technical lists]
Yes it worked when I removed --without-remote.
Good to know. That said, we should still fix things before 1.1.1 is released to fix this bug, so that future users don't have to figure out the magic configure option to use.
2. Run autogen ./autogen.sh --without-xen --with-esx --without-numactl --without-remote --without-libvirtd --without-one --without-openvz --without-qemu --without-uml --without-phyp --without-vbox --without-lxc --without-one --without-test --without-network --without-selinux --with-python
How can I successfully compile libvirt ?
Try building it --with-remote, it seems we assume that in quite a few places.
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 07/25/2013 10:38 AM, Abhishek Sharma wrote:
Since I am new to this mailing list, I am not sure what is the procedure of
[you top-posted again]
tracking bugs/enhancements like this. Should I go ahead and file a bug at https://bugzilla.redhat.com/ ?
Only if you think it isn't getting resolved fast enough. Most likely, since we are in code freeze for 1.1.1, and have identified this as a bug worth fixing, it is fresh on our minds and will get fixed without needing the extra paperwork of a BZ to close. But if we don't get it fixed before 1.1.1, then opening a BZ is wise, so that we don't forget to do it later. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On Thu, Jul 25, 2013 at 09:38:57AM -0700, Abhishek Sharma wrote:
Since I am new to this mailing list, I am not sure what is the procedure of tracking bugs/enhancements like this. Should I go ahead and file a bug at https://bugzilla.redhat.com/ ?
Take a look at this page http://libvirt.org/bugs.html Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (4)
-
Abhishek Sharma
-
Daniel P. Berrange
-
Eric Blake
-
Ján Tomko