Results 1 to 8 of 8

Thread: cvs-zimbra opensuse 10/x86_64

  1. #1
    comptekki is offline Senior Member
    Join Date
    Mar 2006
    Posts
    67
    Rep Power
    9

    Default cvs-zimbra opensuse 10/x86_64

    I keep having issues at the point where postfix wants to use the mysql headers. I've cvs'd the code, made some makefile changes, but I can't seem to get the right combo with mysql. There is a postfix 2.2.3 and 2.2.5 in the default postfix folder. I renamed 2.2.5 to 2.2.9 since that is the latest and then made some changes in the 2.2.9 makefile for mysql and ldap includes, etc. It gets to the point where it wants mysql_version.h and the mysql version I have has a mysql_version.h.in. Do you have a tree of code for opensuse 10 i386 that could be compiled on an x86_64 box I have? There is a mysql_client_version makefile var that I'm not sure where it might get the right info from the mysql-4.1.18 tarball.

  2. #2
    Dux T's Avatar
    Dux T is offline Senior Member
    Join Date
    Jan 2006
    Location
    Seattle, WA
    Posts
    53
    Rep Power
    9

    Default

    I am having the same type of problem with CentOS 4.3 (RHEL) on x86_64 though I'm not sure what's happening, I get to a point where it loops in an error with postfix-2.2.9 flashing something about unrecoverable error but it's too fast to read and if I ctrl-c out the system locks up.

    Is it silly of me to think that someone with a completed x86_64 build could/would package up the binaries and post them somewhere? Or at least create updated build instructions for poor shmoos like me?
    Last edited by Dux T; 04-06-2006 at 10:48 AM.

  3. #3
    comptekki is offline Senior Member
    Join Date
    Mar 2006
    Posts
    67
    Rep Power
    9

    Default

    Quote Originally Posted by Dux T
    I am having the same type of problem with CentOS 4.3 (RHEL) on x86_64 though I'm not sure what's happening, I get to a point where it loops in an error with postfix-2.2.9 flashing something about unrecoverable error but it's too fast to read and if I ctrl-c out the system locks up.

    Is it silly of me to think that someone with a completed x86_64 build could/would package up the binaries and post them somewhere?

    I'm in the process of trying to do this. I have to keep going back and make changes to some of the default Makefiles to make sure they of the right version numbers for the software I wget'd for the full zimbra build process. I first get problems with clamav then openldap.

    The procedure I'm following is here:

    http://comptekki.googlepages.com/zimbra.html

    These instructions come from the docs dir from the cvs version for zimbra.

    When I do

    make allclean all

    it currently is choaking on finding mysql_version.h.

    If I were to get this packaged into a binary, it would work on opensuse 10, but I'm not sure about work on other platforms. The thing that might work is to get the cvs tree all working so it compiles with all the compents in the right place, then if you had the source tar ball you could just compile it then "install" it and then have a working zimbra on your platorm.

  4. #4
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Do you have the MySQL source or are you using a precompiled version?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    comptekki is offline Senior Member
    Join Date
    Mar 2006
    Posts
    67
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    Do you have the MySQL source or are you using a precompiled version?
    I downloaded the source tarball from mysql.com.

  6. #6
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Quote Originally Posted by comptekki
    I downloaded the source tarball from mysql.com.
    Did you compile it?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  7. #7
    comptekki is offline Senior Member
    Join Date
    Mar 2006
    Posts
    67
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    Did you compile it?
    The "make allclean all" does this and places a copy in /opt/zimbra but it doesn't have the mysql_version.h in there. I have gotten past that now by compiling it alone and pointing the Postfix makefile to that src area. Now I'm having problems with -lsasl2 being found. I do rpm -qa sasl and get

    rpm -qa|grep -i sasl
    cyrus-sasl-digestmd5-2.1.21-3
    cyrus-sasl-2.1.21-3
    cyrus-sasl-saslauthd-2.1.21-3
    cyrus-sasl-32bit-2.1.21-3


    I also look in /usr/lib and /usr/lib64 and get:

    # find /usr/lib -name "*sasl*" -print
    /usr/lib/libsasl2.so.2.0.21
    /usr/lib/sasl2
    /usr/lib/sasl2/libsasldb.so
    /usr/lib/sasl2/libsasldb.so.2
    /usr/lib/sasl2/libsasldb.so.2.0.21
    /usr/lib/libsasl2.so.2

    # find /usr/lib64 -name "*sasl*" -print
    /usr/lib64/libsasl2.so.2.0.21
    /usr/lib64/sasl2
    /usr/lib64/sasl2/libsasldb.so
    /usr/lib64/sasl2/libsasldb.so.2
    /usr/lib64/sasl2/libsasldb.so.2.0.21
    /usr/lib64/libsasl2.so.2

    I can't figure out why -lsasl2 doesn't work.

    Here is the error:

    ....
    -L/usr/lib64/sasl2 -L/usr/lib64 -lsasl2 -lpthread -lssl -lcrypto -ldb -lnsl -lresolv
    /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lsasl2
    collect2: ld returned 1 exit status

  8. #8
    unilogic is offline Senior Member
    Join Date
    Nov 2005
    Posts
    51
    Rep Power
    9

    Default

    Make sure the following lib directories are in your /etc/ld.so.conf

    /opt/zimbra/mysql/lib
    /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/lib/
    /opt/zimbra/openldap-2.3.21/lib

    If you add something make sure to run ldconfig afterwards.

    Ben

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  3. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM
  4. Logger
    By jholder in forum Installation
    Replies: 24
    Last Post: 03-31-2006, 11:50 AM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •