Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache Problem - cannot load libX11.so.6

Discussion in 'EasyApache' started by joepublic, Nov 8, 2012.

  1. joepublic

    joepublic Member

    Joined:
    Nov 8, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all,

    I've suddenly started receiving this error in: /usr/local/apache/logs/error_log

    Code:
    /usr/bin/php: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
    I have tried re-compiling with easy apache but that returns the following errors:

    Code:
    ...
    checking for XpmFreeXpmImage in -lXpm... no
    configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please check config.log for more information.
    !! './configure --disable-fileinfo --enable-bcmath --enable-calendar --enable-ftp --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-sockets --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs --with-curl=/opt/curlssl/ --with-gd --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos --with-libdir=lib64 --with-libxml-dir=/opt/xml2/ --with-mcrypt=/opt/libmcrypt/ --with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/bin/mysql_config --with-openssl=/usr --with-openssl-dir=/usr --with-pcre-regex=/opt/pcre --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pic --with-png-dir=/usr --with-sqlite=shared --with-xpm-dir=/usr --with-zlib --with-zlib-dir=/usr'
    failed with exit code '256' !!
    !! Restoring original working apache !!
    ...
    Can anyone advise?

    I'm running CENTOS 5.8 x86_64 virtuozzo and WHM 11.34.0 (build 9)

    Thanks
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice