I had Debian 6.0.6 and libvirt 0.8.3 but it is was default installed without ESXi support (sudo apt-get install libvirt-bin). And it was working. I šdownloaded libvirt 0.9.12 and šand have result:
š$ ./configure --with-exsi
š š š $ make
š š š $ sudo make installšš
oneadmin@debian:~$ virsh
virsh: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.9.12' not found (required by virsh)
oneadmin@debian:~$ /etc/init.d/libvirt-bin start
Starting libvirt management daemon: libvirtd/usr/sbin/libvirtd: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.9.12' not found (required by /usr/sbin/libvirtd)
šfailed!
What me do?