From: Jamie C. <jca...@we...> - 2003-02-13 01:23:53
|
Andy Litzinger wrote: > Hi, > I am running webmin 1.060 on RedHat 7.2. I had it working perfectly with SSL until > I recently updated a bunch of packages including my perl install. Now when I login to > webmin I get the following error when I try to activate SSL: > > Can't locate Net/SSLeay.pm in @INC (@INC contains: > /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 > /usr/lib/perl5/site_perl/5.6.1/i386-linux > /usr/lib/perl5/site_perl/5.6.1 > /usr/lib/perl5/site_perl/5.6.0/i386-linux > /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at > (eval 18) line 2. > BEGIN failed--compilation aborted at (eval 18) line 2. > > For whatever reason when I upgraded perl(5.8.0) it installed into /usr/local/bin, but > webmin is still looking at the 5.6.1 install in /usr/bin. The perl 5.8 install responds > correctly to perl -e 'use Net::SSLeay' (no errors), but the 5.6.1 install does not. > > Here is what I have tried so far: > edited the /etc/webmin/perl-path file to /usr/local/bin/perl > added /usr/local/lib to /etc/ld.so.conf and re-ran ldconfig > restarted webmin > logging into webmin and looking at the perl modules it still is looking at 5.6.1 and > doesn't see the SSLeay module. > > anyone know how I can correct this? The easiest solution would be to just un-install the old Perl RPM, and then run ln -s /usr/local/bin/perl /usr/bin so that all programs (including webmin) that used the old perl will use the new one. Then stop and re-start Webmin. - Jamie |