where does rpm look for perl modules?

Greg_Swift at aotx.uscourts.gov Greg_Swift at aotx.uscourts.gov
Fri Jul 23 03:44:55 UTC 2010

Rpm checks the local RPM database. If you use yum, it would check loca rpm
db and configured repositories.

For your package to find that perl module, it would need to be available or
already installed via an rpm.

I don't recall off hand but I believe there is a utility that will build a
basic RPM by pulling from CPAN.

Greg Swift
Sent with mobile device, please pardon errors.

-------- Original Message --------

>From :      rpm-list-bounces at lists.rpm.org
To :         rpm-list at lists.rpm.org
Cc :
Sent on : 07/22/2010 10:09:20 PM
Subject : where does rpm look for perl modules?

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/


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


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

[@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.


Gu  Lei
Rpm-list mailing list
Rpm-list at lists.rpm.org

More information about the Rpm-list mailing list