You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Narne, Balakrishna (IT Consultant)" <BN...@consultantemail.com> on 2015/06/12 21:36:55 UTC

[users@httpd] Apache 2.4.12 startup issue on linux server

Hi Team,

We have installed and configured apache 2.4.12 version on Linux server. when we are starting the apache server we are seeing the below error. Can you please let me know where we are missing libexpat.so.0?

Apache startup Error:

/bin/httpd: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

Linux-236 [731]:ldd /bin/httpd
        linux-vdso.so.1 =>  (0x00007fffdb587000)
        libpcre.so.1 => /tech/httpd/apache-2.4.12/pcre/lib/libpcre.so.1 (0x00007f3de3372000)
        libaprutil-1.so.0 => /tech/httpd/apache-2.4.12/lib/libaprutil-1.so.0 (0x00007f3de314e000)
        libexpat.so.0 => not found
        libapr-1.so.0 => /tech/httpd/apache-2.4.12/lib/libapr-1.so.0 (0x00007f3de2f12000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003e74e00000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003e6c600000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003e6f600000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003e6be00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003e6c200000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003e6ba00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003e6b600000)
        libexpat.so.0 => not found
        libfreebl3.so => /usr/lib64/libfreebl3.so (0x0000003e6f200000)


OS Version:

LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Red Hat Enterprise Linux Server release 6.6 (Santiago)
cpe:/o:redhat:enterprise_linux:6server:ga:server




Re: [users@httpd] Apache 2.4.12 startup issue on linux server

Posted by Yehuda Katz <ye...@ymkatz.net>.
You need to find whatever RHEL package supplies libexpat.
My RHN Satellite Server says the package is called compat-expat1 and is
available in the standard channels.

- Y

On Fri, Jun 12, 2015 at 3:36 PM, Narne, Balakrishna (IT Consultant) <
BNarne@consultantemail.com> wrote:

>  Hi Team,
>
>
>
> We have installed and configured apache 2.4.12 version on Linux server.
> when we are starting the apache server we are seeing the below error. Can
> you please let me know where we are missing libexpat.so.0?
>
>
>
> Apache startup Error:
>
>
>
> /bin/httpd: error while loading shared libraries: libexpat.so.0: cannot
> open shared object file: No such file or directory
>
>
>
> Linux-236 [731]:ldd /bin/httpd
>
>         linux-vdso.so.1 =>  (0x00007fffdb587000)
>
>         libpcre.so.1 => /tech/httpd/apache-2.4.12/pcre/lib/libpcre.so.1
> (0x00007f3de3372000)
>
>         libaprutil-1.so.0 =>
> /tech/httpd/apache-2.4.12/lib/libaprutil-1.so.0 (0x00007f3de314e000)
>
>         libexpat.so.0 => not found
>
>         libapr-1.so.0 => /tech/httpd/apache-2.4.12/lib/libapr-1.so.0
> (0x00007f3de2f12000)
>
>         libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003e74e00000)
>
>         librt.so.1 => /lib64/librt.so.1 (0x0000003e6c600000)
>
>         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003e6f600000)
>
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003e6be00000)
>
>         libdl.so.2 => /lib64/libdl.so.2 (0x0000003e6c200000)
>
>         libc.so.6 => /lib64/libc.so.6 (0x0000003e6ba00000)
>
>         /lib64/ld-linux-x86-64.so.2 (0x0000003e6b600000)
>
>         libexpat.so.0 => not found
>
>         libfreebl3.so => /usr/lib64/libfreebl3.so (0x0000003e6f200000)
>
>
>
>
>
> *OS Version:*
>
>
>
>
> LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
>
> cat: /etc/lsb-release.d: Is a directory
>
> Red Hat Enterprise Linux Server release 6.6 (Santiago)
>
> Red Hat Enterprise Linux Server release 6.6 (Santiago)
>
> cpe:/o:redhat:enterprise_linux:6server:ga:server
>
>
>
>
>
>
>