I'm trying to build Zimbra desktop from the latest repository source. I'm getting the following errors below. I'm compiling on an AMD x64 box with Centos 5. This is my first build so please help a newb out. The command I'm using is:

/usr/local/ant/bin/ant offline-reset-the-world

JR

Fatal error: terminating: Failed to loadLibrary(zimbra-native)
java.lang.UnsatisfiedLinkError: /opt/zimbra/zdesktop dev/lib/libzimbra-native.so: /opt/zimbra/zdesktop dev/lib/libzimbra-native.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1678)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at com.zimbra.znative.Util.loadLibrary(Util.java:48)
at com.zimbra.znative.Util.<clinit>(Util.java:64)
at com.zimbra.znative.Process.getuid(Process.java:31)
at com.zimbra.cs.servlet.FirstServlet.init(FirstServl et.java:71)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:256)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:636)