Platform Specific

Revision as of 19:06, 10 January 2007 by Dlbewley (talk | contribs) (link to bug)

64 Bit OS

ZCS will run on RHEL 4 x86_64, with 32bit compat installed. Some work is required to make the Zimbra perl scripts function though. The perl modules included with Zimbra are 32bit. Change the Zimbra users Perl @INC var and make sure all the needed modules are available in the RHEL 64bit Perl install.

Virtual Machine

Red Hat

The install on RHEL4 x86_64 fails while trying to find libstdc++. To get past this, I changed line 947 of the script "" in the util directory. The line looked like:


I changed it to:


Also you could fix this with a Symbolic Links eg. "ln -s /usr/lib64/ /usr/lib64/"

However, once I got things installed, I'm stuck right now on the initialization at the end of the install. slappasswd is upset because it can't find libssl and libcrypto, which are installed in /lib64 on the x86_64 platform. I'll update this when I get past this hurdle.

The same fix can be used here. eg. "ln -s /usr/lib64/ /usr/lib/" You only need to change this command to work on your install

Fedora Core 5 x86_64

This is an install of zcs-4.5.0_RC2_566.RHEL4_64.tgz on FC5 x86_64. Is there a FC5 x86_64 build in the works? The RHEL4 version seems to work fine.

You need to have the following installed:

  • compat-db for zimbra-spell
  • openssl097a for zimbra-ldap
  • compat-libstdc++-296

Below is the change required to make the installer happy with the prerequisites and to allow all services to start up. This is only tested on FC5. I've opened bug 13632 on the issue.

The script previously checked for FC5 so that it could use instead of, but if you were on FC5_64, the check failed to match and you were left with an unresolved depenancie for

--- zcs.dist/util/   2007-01-04 22:15:56.000000000 -0800
+++ zcs/util/        2007-01-10 11:00:21.000000000 -0800
@@ -1207,10 +1207,13 @@
     elif [ $PLATFORM = "MANDRIVA2006" ]; then
       PREREQ_PACKAGES="sudo libidn11 curl fetchmail libgmp3 libxml2 libstdc++6 openssl"
-    elif [ $PLATFORM = "FC4" -o $PLATFORM = "FC5" -o $PLATFORM = "FC3" ]; then
-      PREREQ_PACKAGES="sudo libidn curl fetchmail gmp bind-libs vixie-cron"
-      if [ $PLATFORM = "FC5" ]; then
+    elif [ "`echo $PLATFORM | cut -c1-2`" = "FC" ]; then
+      PREREQ_PACKAGES="sudo libidn curl fetchmail gmp bind-libs vixie-cron compat-db compat-libstdc++-296 openssl097a"
+      if [ "`echo $PLATFORM | cut -c1-3`" = "FC5" ]; then
+        if [ "`echo $PLATFORM | cut -d_ -f2`" = "64" ]; then
+          PREREQ_LIBS="$PREREQ_LIBS /usr/lib64/"
+        fi



If the mta won't start, make sure that the libraries are being found:

 postfix start

If you get errors like:

 /opt/zimbra/postfix-2.2.5/sbin/postsuper: error while loading shared libraries: cannot open shared object file: No such file or directory
 /opt/zimbra/postfix-2.2.5/sbin/postalias: error while loading shared libraries: cannot open shared object file: No such file or directory
 /opt/zimbra/postfix-2.2.5/sbin/postfix: error while loading shared libraries: cannot open shared object file: No such file or directory

Verify that /etc/ contains:


then run ldconfig (as root).


OpenSuse 10


Mac OS X

Mac OS X ships with Java (so Zimbra does not include it for Mac releases), but the default version - even if 1.5 is installed - is 1.4.

Check the default: ls -l /usr/bin/java.

Check whether 1.5 is installed here: /System/Library/Frameworks/JavaVM.framework/Versions/.

If not, download it from Apple. Once it's installed, you can specify the preferred order of the versions in the Java Application Settings of the Java Preferences utility found in /Applications/Utilities/Java/J2SE 5.0.

You can also make /usr/bin/java a symlink to /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java but this may break any apps using 1.4.

You can verify that java 1.5 is available to zimbra like this:

su - zimbra
java -version



Jump to: navigation, search