Welcome to the forums,
5.0.x GA ships an XS compiled version of Scalar::Util in its perl modules for RHEL4. So before that as root, read the ~zimbra/.bashrc, and set the PERLLIB and PERL5LIB environment variables to match what the zimbra user does, and then try installing.
Quote:
export PERLLIB=/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi
export PERLLIB
PERL5LIB=$PERLLIB
export PERL5LIB
|
This should tell perl to use the Zimbra perl libraries before using the system perl libraries.
The root of the problem is that RedHat, for whatever reason, decided to build Scalar::Util without XS support on 32-bit RHEL4. RHEL4 64-bit, RHEL5, and RHEL5 64-bit did not have this issue. But in order to have consistency though, for 5.0.1+ we shipped Scalar::Util for all of those, so that our perl builds are identical regardless of platform.
Just curious - what's your perl version show as? (perl -v)
You could also see
jdell's post on downgrading perl.