gnc-prices complains can't load LWP/UserAgent.pm

Jason Rennie jrennie@ai.mit.edu
Wed, 16 Aug 2000 14:21:09 -0400


maynard@jmg.com said:
> [maynard@marquez maynard]$ gnc-prices Can't locate LWP/UserAgent.pm in
> @INC (@INC contains: /usr/share/gnucash/perl  /usr/lib/perl5/5.00503/
> i386-linux /usr/lib/perl5/5.00503  /usr/lib/perl5/site_perl/5.005/
> i386-linux /usr/lib/perl5/site_perl/5.005 .) at  /usr/share/gnucash/
> perl/Quote.pm line 68. 

I actually have the same problem.  One fix is to set the PERLLIB 
environment variable to include /usr/lib/perl5/site_perl (the RPM install 
directory for LWP/UserAgent.pm).

There is definitely a more serious problem lurking, though as perl should 
have its defaults set to look in /usr/lib/perl5/site_perl if standard RH 
packages are going to be putting perl modules there.  Actually, my guess 
is that the RPM that includes LWP/UserAgent.pm should be installed to 
/usr/lib/perl5/site_perl/5.005 instead of /usr/lib/perl5/site_perl

Jason