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 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 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

I'm using libvirt 0.6.5.  Any help would be appreciated.

--
-Dan