
Originally Posted by
Kirkaiya I've tried adjusting the PERLLIB env var in /opt/zimbra/.bashrc file, but without much success so far. It finds the Unix::Syslog module, but I haven't figured out how to set the PERLLIB paths correctly for the others. I don't believe I fully understand the way the paths are interpreted - for a Perl module, do I need to put in the path to the Time directory, or all the way to folder containing HiRes.pm ?
Here's what I did, it's probably a bit hack-ish, but it works
Code:
PERLLIB=`perl -e "print join(\"\:\", @INC);"`:/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib/i586-linux-thread-multi:/opt/zimbra/zimbramon/lib/darwin-thread-multi-2level
Hope it works for you!