[libvirt] Issue with building libvirt

Shradha Shah sshah at solarflare.com
Tue Jan 10 15:37:32 UTC 2012


Hello all,

I have been facing an issue when building libvirt using the following steps:

1) ./autogen.sh --prefix=/usr/ --enable-compile-warnings=error
2) make
3) make install

The issue is that the above steps puts the binary in /usr/lib instead of /usr/lib64 on a 64 bit OS (RHEL). 

[root at c6100l lib]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.2 (Santiago)
Kernel \r on an \m

[root at c6100l lib]# uname -r
2.6.32-220.el6.x86_64

[root at c6100l sshah]# cd /usr/lib
[root at c6100l lib]# ll libvirt*
-rw-r--r-- 1 root root 14156670 Jan 10 13:59 libvirt.a
-rwxr-xr-x 1 root root      998 Jan 10 13:59 libvirt.la
-rw-r--r-- 1 root root    75920 Jan 10 13:59 libvirt-qemu.a
-rwxr-xr-x 1 root root     1053 Jan 10 13:59 libvirt-qemu.la
lrwxrwxrwx 1 root root       21 Jan 10 13:59 libvirt-qemu.so -> libvirt-qemu.so.0.9.4
lrwxrwxrwx 1 root root       21 Jan 10 13:59 libvirt-qemu.so.0 -> libvirt-qemu.so.0.9.4
-rwxr-xr-x 1 root root    55148 Jan 10 13:59 libvirt-qemu.so.0.9.4
lrwxrwxrwx 1 root root       16 Jan 10 13:59 libvirt.so -> libvirt.so.0.9.4
lrwxrwxrwx 1 root root       16 Jan 10 13:59 libvirt.so.0 -> libvirt.so.0.9.4
-rwxr-xr-x 1 root root  7521681 Jan 10 13:59 libvirt.so.0.9.4

This leads to a whole list of other problems.

Please may I ask for your help to resolve this issue?

Many Thanks,

Regards,
Shradha Shah




More information about the libvir-list mailing list