ISPConfig cannot install on Centos5.2 X86_64 version

Discussion in 'Installation/Configuration' started by caros, Aug 11, 2008.

  1. caros

    caros New Member

    Uname -a answered:
    Linux server.localdomain 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:42:41 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

    install centos5.2 has followed with http://www.howtoforge.com/perfect-server-centos-5.2

    It stop here:

    ....................
    Configuring extensions
    checking whether to enable LIBXML support... yes
    checking libxml2 install dir... no
    checking for xml2-config path... /usr/bin/xml2-config
    checking whether libxml build works... no
    configure: error: build test failed. Please check the config.log for details.
    ERROR: Could not configure PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    .........................

    and how can i continue?
     
    Last edited: Aug 11, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please install the libxml2 development package.
     
  3. caros

    caros New Member

    but libxml2 has already been installed.



    yum install libxml2*
    Loading "fastestmirror" plugin
    Loading mirror speeds from cached hostfile
    * dtc: ftp.gplhost.com
    * base: ftp.hostrino.com
    * updates: ftp.hostrino.com
    * addons: ftp.hostrino.com
    * extras: ftp.hostrino.com
    Setting up Install Process
    Parsing package install arguments
    Package libxml2-python - 2.6.26-2.1.2.1.x86_64 is already installed.
    Package libxml2 - 2.6.26-2.1.2.1.i386 is already installed.
    Package libxml2 - 2.6.26-2.1.2.1.x86_64 is already installed.
    Package libxml2-devel - 2.6.26-2.1.2.1.x86_64 is already installed.
    Package libxml2-devel - 2.6.26-2.1.2.1.i386 is already installed.
    Nothing to do
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to make a symlink in /usr/lib/ to the libxml2.so file in /usr/lib64/
     
  5. caros

    caros New Member

    I reinstalled my system with i686 mode,not X86_64 mode,and then installed ISPConfig successful.
    I think it may be the php version with ISPConfig is not for X86_64 mode.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The PHP version is the official version from php.net, there are n other vewrsions and it compiles fine on the 64 bit versions of several linux distributions. Your proiblem could have been solved most likely by symlinking the lib as I posted above.
     
  7. klop

    klop New Member

    Hi,

    I have the same problem. I'm on Centos 5, 64 bits.
    I have libxml2.so in /usr/lib/

    Any idea ?

    Thanks
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Make sure that libxml2-devel is installed:

    yum install libxml2-devel

    2) Please post the output of:

    ls -la /usr/lib/libxml*

    3) Post the output of:

    updatedb
    locate xml2-config
     
  9. klop

    klop New Member

  10. tcowin

    tcowin New Member

    works for me

    I ran into the same problem - trying to cfg PHP 5.2.6 on Centos 5.2, after clean install and yum -y upgrade.

    Removed and reinstalled the following...

    Removing:
    zlib-devel i386 1.2.3-3 installed 248 k
    Removing for dependencies:
    libpng-devel i386 2:1.2.10-7.1.el5_0.1 installed 424 k
    libpng-devel x86_64 2:1.2.10-7.1.el5_0.1 installed 472 k
    libxml2-devel i386 2.6.26-2.1.2.4 installed 10 M
    libxml2-devel x86_64 2.6.26-2.1.2.4 installed 11 M
    libxslt-devel x86_64 1.1.17-2.el5_2.2 installed 1.1 M
    libxslt-devel i386 1.1.17-2.el5_2.2 installed 1.0 M

    like so:
    # yum -y install zlib-devel
    # yum -y install libxml2-devel
    # yum -y install libpng-devel
    # yum -y install libxslt-devel

    (note you'd only need to reinstall any dependent packages that were removed...)


    then I was able to configure PHP with libxml2
     
    Last edited: Sep 12, 2008
  11. Amr_not_Amr

    Amr_not_Amr New Member

    Thank you,
    This has saved me much time
     

Share This Page