On Thu, Aug 27, 2009 at 04:50:21PM -0500, Daniel de Araujo wrote: > Hi, > > I'm trying to compile the libvirt perl bindings (Sys-Virt-0.2.1) on x86_64 > RHEL 5.3 and I'm running into the following issue: > > /usr/bin/perl "-Iblib/arch" "-Iblib/lib" > perl-Sys-Virt.spec.PL<http://perl-sys-virt.spec.pl/>perl-Sys-Virt.spec > Can't load 'blib/arch/auto/Sys/Virt/Virt.so' for module Sys::Virt: > libvirt.so.0: cannot open shared object file: No such file or directory at > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. > at perl-Sys-Virt.spec.PL <http://perl-sys-virt.spec.pl/> line 9 > make: *** [perl-Sys-Virt.spec] Error 9 > > I've specified the PKG_CONFIG_PATH as /usr/local/lib/pkgconfig; libvirt > shared objects are in /usr/local/lib Since you've installed libvirt in a non-standard location yuou probably also need LD_LIBRARY_PATH set to point to /usr/local/lib 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 :| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list