[libvirt] make install doesn't install to /usr/lib64

Daniel Berrange berrange at redhat.com
Thu Nov 20 17:41:38 UTC 2008


On Thu, Nov 20, 2008 at 07:32:56PM +0200, Kenneth Nagin wrote:
> 
> I am working on a x86_64 machine.  I expected 'make install' to install to
> libvirt.so to /usr/lib64.  But it installs to /usr/lib.  Is this a bug or
> is it the expected behavior?

That is a distro specific policy, whcih varies from autoconf policy.
So to make it follow the distro policy yuou must supply an explicit
arg to configure,  --libdir=/usr/lib64

As an example, RPM does this automatically if you use the %configure macro,
but if you're doing builds by hand you must add whatever args are needed

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list