The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Easyapache error - Urgent

Discussion in 'EasyApache' started by sunyl, Oct 19, 2012.

  1. sunyl

    sunyl Active Member

    Joined:
    Oct 12, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    We upgraded openssl manually to latest version on centos 5.8 64bit

    wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz
    tar -zxf openssl-1.0.1c.tar.gz
    cd openssl-1.0.1c
    ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ssl-dir=/usr/src/openssl-1.0.1c --with-pam --with-libs=-ldl --without-zlib-version-check
    make
    make install

    Now when we recompile apache/php it gives error -

    ---
    type -lX11 -lXpm -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lbz2 -lz -lpcre -lssl -lcrypto -lrt -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lmysqlclient -lz -lcrypt -lnsl -lm -lmygcc -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt -o sapi/cli/php
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libcrypt.so when searching for -lcrypt
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libcrypt.a when searching for -lcrypt
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libz.so when searching for -lz
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libz.a when searching for -lz
    /usr/lib/libexpat.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make: *** [libphp5.la] Error 1
    make: *** Waiting for unfinished jobs....
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libcrypt.so when searching for -lcrypt
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libcrypt.a when searching for -lcrypt
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libz.so when searching for -lz
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libz.a when searching for -lz
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libdl.so when searching for -ldl
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libdl.a when searching for -ldl
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libz.so when searching for -lz
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libz.a when searching for -lz
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libm.so when searching for -lm
    /usr/bin/ld: skipping incompatible /usr/local/ssl/lib/libm.a when searching for -lm
    /usr/lib/libexpat.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make: *** [sapi/cli/php] Error 1
    !! 'make -j2' failed with exit code '512' !!
    !! Restoring original working apache !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Restarting 'httpd' ... !!
    !! 'httpd' restart complete. !!
    Building global cache for cpanel...Done
    !! Executing '/scripts/initfpsuexec' !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Executing '/scripts/update_apachectl' !!
    !! Executing '/scripts/enablefileprotect' !!
    Compiling report...
    Sending report. As some of the attached files may be quite large, this could take a few minutes. Thanks for your patience.
    !! If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '9143163' !!
    Report processed.
    !! Feel free to submit a support ticket at https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets !!
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1350663793' !!
    ---

    Any help would be appreciated, thank you.
     
  2. NetworkPanda

    NetworkPanda Registered

    Joined:
    Oct 20, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This error usually occurs when there are mixed libraries for 32 and 64 bit systems.

    Give these commands:
    cd /usr/lib
    ls -l libexpat*

    What is the result?
     
  3. sunyl

    sunyl Active Member

    Joined:
    Oct 12, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    root@server1 [/usr/lib]# ls -l libexpat*
    -rw-r--r-- 1 root root 197574 Jun 13 15:35 libexpat.a
    -rwxr-xr-x 1 root root 706 Jun 13 15:35 libexpat.la*
    lrwxrwxrwx 1 root root 27 Jun 14 02:17 libexpat.so -> ../../lib/libexpat.so.0.5.0*
    root@server1 [/usr/lib]#

    Is there a way to resolve this issue so we can safely upgrade apache/php on the server.

    Thanks
     
Loading...

Share This Page