Results 1 to 7 of 7

Thread: Xen Debian Etch libgmp3...MISSING libxml2...MISSING

  1. #1
    Join Date
    Nov 2006
    Location
    san diego
    Posts
    13
    Rep Power
    8

    Default Xen Debian Etch libgmp3...MISSING libxml2...MISSING

    I tried to do the Debian Etch install on a Xen DomU and have found that the prerequisite check fails on:

    libgmp3...MISSING
    libxml2...MISSING

    but apt-get install libgmp3 gives:

    Package libgmp3 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    libgmpxx4 libgmp3c2 libgmp3-doc

    so I installed libgmp3c2, but Zimbra doesn't like that. I didn't find an installation candidate for libxml2 through apt-get. Is there a file I can edit so it will build with the updated tool(s)? I don't really want to uninstall the latest lib to install the older one and then screw up some other package.

    This is a clean system freshly built with a minimum install.

    Thanks,
    Cameron
    San Diego

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

    Default

    read the debian etch sticky thread at top of forum

  3. #3
    Join Date
    Nov 2006
    Location
    san diego
    Posts
    13
    Rep Power
    8

    Default

    I cut/pasted the apt-get install command from that sticky, but that thread doesn't address my problem. I'm trying to install zcs-4.5.6_GA_1044.DEBIAN3.1.tgz and it fails prerequisites of libgmp3 and libxml2.

  4. #4
    Join Date
    Jun 2007
    Location
    Philippines
    Posts
    193
    Rep Power
    8

    Default

    Quote Originally Posted by unclecameron View Post
    I cut/pasted the apt-get install command from that sticky, but that thread doesn't address my problem. I'm trying to install zcs-4.5.6_GA_1044.DEBIAN3.1.tgz and it fails prerequisites of libgmp3 and libxml2.
    afaik, you have to install those libraries since Zimbra installation is dependent on those libraries.

    as a root, apt-get install libgmp3 libxml2.

    that should do it.

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

    Default

    the libraries aren't the problem, it's the install script. you have to change your OS identifier or the install script, read that thread!

  6. #6
    Join Date
    Jul 2008
    Posts
    91
    Rep Power
    7

    Default

    Quote Originally Posted by dijichi2 View Post
    the libraries aren't the problem, it's the install script. you have to change your OS identifier or the install script, read that thread!
    I using Ubuntu 8.04.1 Desktop 386 to install Zimbra
    I change the script in the /util/utilfunc.sh

    Code:
    getPlatformVars() {
      PLATFORM=`bin/get_plat_tag.sh`
      echo $PLATFORM
      if [ $PLATFORM = "DEBIAN3.1" -o $PLATFORM = "UBUNTU6" -o $PLATFORM = "UBUNTU7" -o $PLATFORM = "UBUNTU6_64" -o $PLATFORM = "UBUNTU7_64" -o $PLATFORM = "DEBIAN4.0" -o $PLATFORM = "DEBIAN4.0_64" -o $PLATFORM = "UBUNTUUNKNOWN" -o $PLATFORM = "DEBIANUNKNOWN" ]; then
        checkUbuntuRelease
        PACKAGEINST='dpkg -i'
        PACKAGERM='dpkg --purge'
        PACKAGEQUERY='dpkg -s'
        PACKAGEEXT='deb'
        PACKAGEVERSION="dpkg-query -W -f \${Version}"
        PREREQ_PACKAGES="sudo libidn11 fetchmail libgmp3c2 libxml2 libstdc++6 openssl libltdl3"
        if [ $PLATFORM = "UBUNTU6" -o $PLATFORM = "UBUNTU7" ]; then
          PREREQ_PACKAGES="sudo libidn11 fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 libstdc++5 openssl libltdl3"
          PRESUG_PACKAGES="perl-5.8.7"
        fi
        if [ $PLATFORM = "UBUNTU6_64" -o $PLATFORM = "UBUNTU7_64" ]; then
          PREREQ_PACKAGES="sudo libidn11 fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 libstdc++5 openssl libltdl3 libperl5.8"
          PRESUG_PACKAGES="perl-5.8.7"
        fi
        if [ $PLATFORM = "DEBIAN4.0" -o $PLATFORM = "DEBIAN4.0_64" ]; then
          PREREQ_PACKAGES="sudo libidn11 fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 openssl libltdl3"
          PRESUG_PACKAGES="perl-5.8.8"
        fi
      elif echo $PLATFORM | grep RPL > /dev/null 2>&1; then
    .....
    But the install by pass the missing package warning but not the installation.....

    The warning message as below:
    Code:
    Checking for prerequisites...
        NPTL...FOUND
        sudo...FOUND sudo-1.6.9p10-1ubuntu3.2
        libidn11...FOUND libidn11-1.1-1
        fetchmail...FOUND fetchmail-6.3.8-10ubuntu1
        libgmp3c2...FOUND libgmp3c2-2:4.2.2+dfsg-1ubuntu2
        libxml2...FOUND libxml2-2.6.31.dfsg-2ubuntu1
        libstdc++6...FOUND libstdc++6-4.2.3-2ubuntu7
        openssl...FOUND openssl-0.9.8g-4ubuntu3.3
        libltdl3...FOUND libltdl3-1.5.26-1ubuntu1
    Prerequisite check complete.
    Checking for standard system perl...
    
    Checking for installable packages
    
    Found zimbra-core
    Error: attempting to install i386 packages on a unknown OS.
    Exiting...
    In my investigation when I run
    henry@henry-desktop:~/Zimbra/zcs-5.0.8_GA_2462.UBUNTU6.20080709173036/bin$ ./get_plat_tag.sh
    UBUNTUUNKNOWN

    What happen? Why UNKNOWN?

    Thank you

  7. #7
    Join Date
    Mar 2008
    Location
    Chicago, IL
    Posts
    49
    Rep Power
    7

    Default

    You need to find: (in get_plat_tag)

    grep "DISTRIB_RELEASE=6" /etc/lsb-release > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo "6${i}"
    exit 0
    else
    You can then change it to:

    grep "DISTRIB_RELEASE=8" /etc/lsb-release > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo "6${i}"
    exit 0
    else
    And hopefully that should work.


    If you get a message like this:

    You appear to be installing packages on a platform different
    than the platform for which they were built.

    This platform is UBUNTU6
    Packages found: UBUNTU7
    You would need to change:
    "DISTRIB_RELEASE=7" to "DISTRIB_RELEASE=8"
    I'm not sure if you'd ever need that, I don't know much about different installs.
    Last edited by Mccreations; 07-29-2008 at 01:15 PM.

Similar Threads

  1. Reliable Zimbra installation on Debian Etch?
    By holunde in forum Installation
    Replies: 7
    Last Post: 06-21-2007, 12:01 AM
  2. Zimbra + Debian + Xen = LDAP problems
    By Tony Lewis in forum Installation
    Replies: 1
    Last Post: 03-05-2007, 05:36 AM
  3. NPTL missing in Debian Sarge
    By martin78 in forum Installation
    Replies: 6
    Last Post: 02-19-2007, 10:19 PM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 10:13 AM
  5. Missing Prerequisites on Debian
    By WD_40 in forum Installation
    Replies: 2
    Last Post: 01-16-2007, 08:38 AM

Posting Permissions

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