View Single Post
  #14 (permalink)  
Old 03-31-2006, 03:25 AM
robrankin robrankin is offline
Intermediate Member
 
Posts: 22
Default

Quote:
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!
Reply With Quote