[rhn-users] How to check which rpm is required?

chirag thakkar ad_chirag at yahoo.co.in
Fri Apr 15 22:02:41 UTC 2005


Hi Brian,
 
Can't locate Net/LDAPS.pm in @INC 
For now i know that this file is provided by perl-ldap-0.31-1.0.rh7.dag. rpm 
The way i cud find :--
1. This file existed on some other machine i have.
2. there i did  
locate LDAP.pm
then rpm -q --whatprovides /usr/lib/perl5/vendor_perl/5.6.1/Net/LDAP.pm .
 
But say i dont have this file on any of my machines; then where do i go from here.
 
Also it has happened at times that multiple rpms were missing for running a perl file.
Is there a way to find the entire list of required & / or missing rpms in one go .. rather than having one error / missing rpm at a time..
 
One more question: (sorry i have just too many ... ) how can i modify @INC variable without using use lib qw (path to the .pm).  I wud like to know if there is another way.
 
Thanks in Adv.
- Chirag.
 
_____________
Chirag,

What is the name of the perl module that can't be located, more 
specifically,

 > Can't locate <perl module>.pm

Let us know what that is and we'll tell you how to find the RPM

-brian

chirag thakkar wrote:

> Hi,
> I have some webite to maintain. I have code with me.
> This is perl code.
> When i run:--
> perl xyz.pl
> It throws :--
> Cant locate ___.pm ... blah blah..
> which signifies that some rpm is missing.
> OS: RH AS 2.1
> This happen one error at a time.. i.e. if i fix problem of one rpm 
> then only i see another err for another rpm..
> Firstly; Can i find the entire of list of missing .pm files 
(packages) 
> missing; so that i can fix them all at one go.
>  
> i am well versed with the application; so know till now which rpm 
> would be missing.
> But in case i come across some package (.pm) missing; how/where do i 
> find the rpm easily.. i.e. other than googling..
>  
> Please revert for any clarificaitons.
>  
> Thanks,
> Chirag.
>  
>
> 


		
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050415/7f11c984/attachment.htm>


More information about the rhn-users mailing list