Whit,<div><br></div><div>I was able to get around the library problem by simply uninstalling the xsltproc distribution package. The docs are not made but the installation finishes. (Let me know if you think this is a bad idea or if it will mess up the running of libvirt somehow)</div>
<div><br></div><div>I tried your suggestion and I can run the libvirt daemon from the location you suggested. However, when I cannot seem to connect to the libvirt-sock socket or the qemu hypervisor. When I run the command "sudo virsh -c qemu:///system list" I get the follow error messages:</div>
<div><br></div><div><div>error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': Connection refused</div><div>error: failed to connect to the hypervisor</div></div><div><br></div><div>Any ideas how to get this working. I've been running into this problem for several combinations of installs except for when I use the distro packages for both qemu-kvm and libvirt.</div>
<div><br></div><div>Thanks,</div><div>Shawn</div>
<div><br></div><div><br><br><div class="gmail_quote">On Wed, Aug 22, 2012 at 4:20 PM, Whit Blauvelt <span dir="ltr"><<a href="mailto:whit.virt@transpect.com" target="_blank">whit.virt@transpect.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What works for me (Ubuntu 10.10):<br>
<br>
Stop the old version.<br>
<br>
Start the new one with:<br>
<br>
/usr/local/sbin/libvirtd -d<br>
<br>
That's assuming that you did a "make install" and let it go to the default<br>
location, which that is. Now, if it's all default (both the original and<br>
your builds), then replace /usr/local/etc/libvirt/qemu with a symlink to<br>
/etc/libvirt/qemu before starting.<br>
<br>
Also, if you've built qemu-kvm to replace the distro version, then<br>
/usr/bin/kvm should be a symlink to /usr/local/bin/qemu-system-x86_64 rather<br>
than the distro's /usr/bin/qemu-system-x86_64.<br>
<br>
There's also another daemon or two that you may or may not need running<br>
according to how you're handling the VM interfaces. Since I'm bridging them,<br>
I haven't concerned myself with that.<br>
<br>
In recent versions Ubuntu has omitted a proper /etc/init.d script in favor<br>
of upstart (which I hate; YMMV). There's still a decent init.d script for<br>
libvirt in Debian, which can be edited to work with a built-from-source<br>
version. Of course, Ubuntu will replace that whenever you do updates, if it<br>
still thinks that libvirt is something it should update.<br>
<br>
BTW, what did you do to get around the library problem?<br>
<br>
Whit<br>
<div><div><br>
On Wed, Aug 22, 2012 at 03:50:12PM -0400, Shawn Furrow wrote:<br>
> Daniel (and all others),<br>
><br>
> I have been able to get past the libvirt installation but I cannot start the<br>
> libvirtd daemon. For ubuntu, what is the best way to start the libvirtd daemon?<br>
> "sudo make install" did not put libvirtd in /etc/init.d so the only place I see<br>
> it is in libvirt-0.10.0/daemon/. I have looked up this issue online and the<br>
> best I have seen is to install the distribution package and replace the daemon<br>
> with the one I build from source. Does anyone know anything about this?<br>
><br>
> Thanks,<br>
> Shawn<br>
><br>
> On Wed, Aug 22, 2012 at 10:40 AM, Shawn Furrow <<a href="mailto:sfurrow@vt.edu" target="_blank">sfurrow@vt.edu</a>> wrote:<br>
><br>
>     If I run xmllint --noout docs/<a href="http://news.html.in" target="_blank">news.html.in</a> inside the libvirt-0.10.0<br>
>     directory I get no output.<br>
><br>
>     Shawn<br>
><br>
><br>
>     On Wed, Aug 22, 2012 at 10:33 AM, Daniel Veillard <<a href="mailto:veillard@redhat.com" target="_blank">veillard@redhat.com</a>><br>
>     wrote:<br>
><br>
>         On Wed, Aug 22, 2012 at 10:02:53AM -0400, Shawn Furrow wrote:<br>
>         > Daniel,<br>
>         ><br>
>         > I tried re-installing all of those libraries and I still get the same<br>
>         > segfault. Here are the outputs you requested:<br>
>         ><br>
>         > *xsltproc --version*<br>
>         > Using libxml 20706, libxslt 10126 and libexslt 815<br>
>         > xsltproc was compiled against libxml 20706, libxslt 10126 and<br>
>         libexslt 815<br>
>         > libxslt 10126 was compiled against libxml 20706<br>
>         > libexslt 815 was compiled against libxml 20706<br>
>         ><br>
>         > *xmllint --version*<br>
>         > xmllint: using libxml version 20706<br>
>         >    compiled with: Threads Tree Output Push Reader Patterns Writer<br>
>         SAXv1 FTP<br>
>         > HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv<br>
>         > ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules<br>
>         Debug Zlib<br>
><br>
>           what does xmllint --noout docs/<a href="http://news.html.in" target="_blank">news.html.in</a> gives within libvirt ?<br>
>         if it crashes then check which libz is used by<br>
>            ldd /usr/bin/xmllint<br>
>         and check where that library comes from, it's very likely a problem<br>
>         like that, xsltproc should not crash<br>
><br>
>         Daniel<br>
><br>
>         --<br>
>         Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://<br>
>         <a href="http://xmlsoft.org/" target="_blank">xmlsoft.org/</a><br>
>         <a href="mailto:daniel@veillard.com" target="_blank">daniel@veillard.com</a>  | Rpmfind RPM search engine <a href="http://rpmfind.net/" target="_blank">http://rpmfind.net/</a><br>
>         <a href="http://veillard.com/" target="_blank">http://veillard.com/</a> | virtualization library  <a href="http://libvirt.org/" target="_blank">http://libvirt.org/</a><br>
><br>
><br>
><br>
><br>
>     --<br>
>     Virginia Tech<br>
>     Bradley Department of Electrical and Computer Engineering<br>
>     B.S. Electrical Engineering<br>
>     B.S. Computer Engineering<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Virginia Tech<br>
> Bradley Department of Electrical and Computer Engineering<br>
> B.S. Electrical Engineering<br>
> B.S. Computer Engineering<br>
><br>
<br>
</div></div>> _______________________________________________<br>
> libvirt-users mailing list<br>
> <a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Virginia Tech<br>Bradley Department of Electrical and Computer Engineering<br>B.S. Electrical Engineering</div><div>B.S. Computer Engineering</div><br>
</div>