where does rpm look for perl modules?

Gu Lei(Tech) leigu at sohu-inc.com
Fri Jul 23 02:58:11 UTC 2010


Hello everyone:

 

Where does rpm look for perl modules?

 

[@clubstdby.no.sohu.com Tie-IxHash-1.22]# rpm -ivh
/opt/rpmbuild/RPMS/x86_64/dba-mysql-1.0.0-1.x86_64.rpm

error: Failed dependencies:

        perl(Tie::IxHash) is needed by dba-mysql-1.0.0-1.x86_64

 

dba-mysql-1.0.0-1.x86_64.rpm is made by myself using rpmbuild.

 

Tie::IxHash has been installed by make and make install both in site and
vendor directories.

 

[@clubstdby.no.sohu.com ~]# ls /usr/lib/perl5/site_perl/5.8.8/Tie/

IxHash.pm

[@clubstdby.no.sohu.com ~]# ls /usr/lib/perl5/vendor_perl/5.8.8/Tie/

IxHash.pm

 

Perl scripts in dba-mysql-1.0.0-1.x86_64.rpm runs normally on this
machine.

 

[@clubstdby.no.sohu.com ~]# uname -a

Linux clubstdby.no.sohu.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux

[@clubstdby.no.sohu.com ~]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.2 (Tikanga)

 

How and where should I install Tie::IxHash? And then
dba-mysql-1.0.0-1.x86_64.rpm dependence check can be correct.

 

Thanks.

 

Gu Lei

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100723/789da7dd/attachment.html>


More information about the Rpm-list mailing list