From: "Harish Vishwanath" <harish.shastry@gmail.com>
To: "libvirt-users" <libvirt-users@redhat.com>
Sent: Thursday, March 19, 2015 11:35:53 PM
Subject: [libvirt-users] Building libvirt 1.2.13 from source

Hello

I am trying to build libvirt 1.2.13 (latest) from source on a Ubuntu 14.04 64 bit box. After installing all the dependencies (libyajl, libdevmapper, libpciaccess, libnl), I could finish the build and install. However, invoking libvirtd throws this:

root@ubuntu:/home/hvishwanath/Downloads/libvirt-1.2.13# libvirtd 
libvirtd: /usr/lib/libvirt-qemu.so.0: version `LIBVIRT_QEMU_1.2.3' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.9' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.3' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.11' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.7' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.12' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.5' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.6' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_1.2.8' not found (required by libvirtd)
libvirtd: /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_1.2.13' not found (required by libvirtd)

Any help is much appreciated.
I usually try to create the correct soft link for libvirt.so.0/libvirt-qemu.so.0  when I met this. 
like below:

# ldd `which libvirtd`
    linux-vdso.so.1 =>  (0x00007ffc64e92000)
    libvirt-lxc.so.0 => /lib64/libvirt-lxc.so.0 (0x00007f2206e30000)
    libvirt-qemu.so.0 => /lib64/libvirt-qemu.so.0 (0x00007f2206c2c000)
    libvirt.so.0 => not found
....
# ln -s /usr/lib64/libvirt.so.0.1002.14 /usr/lib64/libvirt.so.0

# ldd `which libvirtd`
    linux-vdso.so.1 =>  (0x00007ffd42327000)
    libvirt-lxc.so.0 => /lib64/libvirt-lxc.so.0 (0x00007fbe43a1e000)
    libvirt-qemu.so.0 => /lib64/libvirt-qemu.so.0 (0x00007fbe4381a000)
    libvirt.so.0 => /lib64/libvirt.so.0 (0x00007fbe432e0000)
....

# libvirtd







Regards,
Harish

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users



--
Regards
shyu