Results 1 to 8 of 8

Thread: mysql libs error

  1. #1
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default mysql libs error

    hi, got a problem. 4.0_rc1_272, debian 3.1 . zimbra mysql libs appear to be incompatible with anything else on the system, e.g. php/mysql, postfix etc. errors such as this:

    neo:~# /etc/init.d/apache start
    Starting web server: apachePHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20050922/mysql.so' - /opt/zimbra/lib/libmysqlclient.so.14: version `MYSQL_4.1' not found (required by /usr/lib/php5/20050922/mysql.so) in Unknown on line 0


    as a temorary fix i enter /usr/lib as higher priority than /opt/zimbra/mysql/lib in ld loader, but this then means you can't stop and start zimbra. anyone got any clever ideas or will it require a compile fix?

  2. #2
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    *bump*

    anyone on debian also experiencing this problem, and/or have a clever idea to solve it? it's a huge, machine-breaking problem on a production server..

    bug 10288 filed, was hoping it mighta been fixed for GA

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    What do you get from a "postqueue -p"?

    [edit] Sorry about the 'shouting', fingers too big for keyboard.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    uh

    zimbra@willow:~$ postqueue -p
    Mail queue is empty

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    It was a longshot but that was the answer I was expecting but it doesn't help your problem. I guess you'll have to wait for one of the zimbra guys to help you.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Yeah, we've seen this, but usually the other way - the system sql libs confuse the postfix we ship. Our dilemma is that we start postfix across the sudo boundary, so we can't set LD_LIBRARY_PATH - which is why we mod ld.so.conf.d.

    The official response is, this is a mail server, do your php stuff elsewhere.

    The unofficial response is, this is a pain, and we realize it. The currently favored solution is for us to statically link everything that we ship, which will solve this and other problems.

    Don't ask me when we'll get there - that process is a HUGE pain, and we're trending in that direction, but we've not even fully scoped the work.


    Possible workaround - can you set LD_LIBRARY_PATH explicitly in your apache startup script?
    Bugzilla - Wiki - Downloads - Before posting... Search!

  7. #7
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    Yeah, we've seen this, but usually the other way - the system sql libs confuse the postfix we ship. Our dilemma is that we start postfix across the sudo boundary, so we can't set LD_LIBRARY_PATH - which is why we mod ld.so.conf.d.
    ah, of course, that explains things.

    The official response is, this is a mail server, do your php stuff elsewhere.
    grr...

    The unofficial response is, this is a pain, and we realize it. The currently favored solution is for us to statically link everything that we ship, which will solve this and other problems.
    Don't ask me when we'll get there - that process is a HUGE pain, and we're trending in that direction, but we've not even fully scoped the work.
    would make building from source with the binary mysql downloads easier static libs are safer and quicker, although for sure a pain to build, upgrade and deal with etc.. good luck!

    Possible workaround - can you set LD_LIBRARY_PATH explicitly in your apache startup script?
    added LD_LIBRARY_PATH to end of ENV var in /etc/init.d/apache, did the trick nicely. thankyou!!

  8. #8
    bronto is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    19
    Rep Power
    9

    Default

    Just noting that I had this problem too. I was able to get it working by modifying ld loader - adding /usr/lib at the bottom - and it works for me. I can start/stop both Zimbra and my seperate mysql install.

    Getting everything up like I want it has been on the verge of "an ordeal", because this is not a dedicated mail server. Just acknowledging your "official response" below. However, in the real world not every mail server is dedicated. Thus, if my vote were to count for anything, it would be for Zimbra to make use of existing distro components rather than install it's own. The current method is best for testing/demoing/evangelizing Zimbra because on a virgin machine it "just works". But I think you're beyond that now, or soon will be. Just my humble opinion.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Cannot determine services - exiting
    By tawas in forum Installation
    Replies: 7
    Last Post: 04-25-2006, 02:47 AM
  3. Yet another get.DirectContext issue
    By dccpark in forum Installation
    Replies: 5
    Last Post: 03-08-2006, 01:25 PM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-14-2005, 11:00 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
  •