| Christian Wirth 2005-03-22, 3:56 pm |
| Hi,
Hope I got the right of the perl.* newsgroups, but beginner sounds
quite promising :)
My distribution came with perl 5.6.0 installed. I updated to version
5.8.0.
Now I installed a new software (openwebmail), that needs Base64.pm in
a newer version so I installed. Still openwebmail complains about the
older version (of Base64.pm). After some investigation if found out
why: it executes /usr/bin/suidperl that is still version 5.6.0.
So, typing "perl --version" at the console gives output "... 5.8.0
....", while "suidperl --version" gives "... 5.6.0 ...". The newer
version of the Base64.pm lib was installed where perl (5.8.0) searches
it, but not where the vesion 5.6.0 would search it.
I know, making openwebmail accessing the right directories is not
topic of this newsgroup. I find it a bit strange though that the
suidperl-executable was not updated. I didn't find any newer version
of it on my machine.
There are two ./lib/perl5 directories on the machine.
/usr/lib/perl5 is of version 5.6.0
/usr/local/lib/perl5 is of version 5.8.0
Everything seems fine with the second directory, that's used by perl
when executed via apache. All updates of modules are done there. Only
the old suidperl uses the /usr/lib/ directory that is out of date.
So, what to do now? How to update suidperl? should I remove the
/usr/lib/perl directory and instead make a link to the newer
directory?
Thanks for any hints,
Christian Wirth
|