You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dan Richardson <ds...@googlemail.com> on 2006/10/27 13:53:41 UTC

[users@httpd] httpd fails to start - XmlInitUnknownEncoding error, Solaris 10

Hello,

I'm trying to start httpd (2.0.59 - Sunfreeware package) and receive the
following error:

web1 [/root]# /usr/local/apache2/bin/httpd
ld.so.1: httpd: fatal: relocation error: file
/usr/local/apache2/lib/libexpat.so.0: symbol XmlInitUnknownEncoding:
referenced symbol not found
Killed


ldd on that library returns:

web1 [/root]# ldd -v /usr/local/apache2/lib/libexpat.so.0

find object=libc.so.1; required by /usr/local/apache2/lib/libexpat.so.0
libc.so.1 => /usr/lib/libc.so.1
find version=libc.so.1
libc.so.1 (SYSVABI_1.3) => /usr/lib/libc.so.1

find object=libgcc_s.so.1; required by /usr/local/apache2/lib/libexpat.so.0
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
find version=libgcc_s.so.1
libgcc_s.so.1 (GCC_3.0) => /usr/sfw/lib/libgcc_s.so.1

find object=libc.so.1; required by /usr/sfw/lib/libgcc_s.so.1
find version=libc.so.1
libc.so.1 (SUNW_1.1) => /usr/lib/libc.so.1

object=/usr/lib/libc.so.1; filter for /usr/lib/ld.so.1

object=/usr/lib/libc.so.1; filter for libm.so.2

find object=libm.so.2; required by /usr/lib/libc.so.1
libm.so.2 => /usr/lib/libm.so.2

find object=libc.so.1; required by /usr/lib/libm.so.2
find version=libc.so.1
libc.so.1 (SUNW_0.7) => /usr/lib/libc.so.1
libc.so.1 (SUNWprivate_1.1) => /usr/lib/libc.so.1

object=/usr/lib/libc.so.1; filter for /platform/$PLATFORM/lib/libc_psr.so.1

find object=/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1; required by
/usr/lib/libc.so.1
/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1

web1 [/root]# uname -a
SunOS web1 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V240


Anyone have any ideas? Google reveals someone else has had this problem, but
no solution was ever posted.

Thanks in advance for any help offered.

Dan

Re: [users@httpd] httpd fails to start - XmlInitUnknownEncoding error, Solaris 10

Posted by Kenneth Svee <k....@usit.uio.no>.
[ Dan Richardson ]

> Hello,
>
> I'm trying to start httpd (2.0.59 - Sunfreeware package) and receive
> the following error:
>
> web1 [/root]# /usr/local/apache2/bin/httpd
> ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/lib/libexpat.so.0: symbol
> XmlInitUnknownEncoding: referenced symbol not found
> Killed
...
> Anyone have any ideas? Google reveals someone else has had this
> problem, but no solution was ever posted.
>
> Thanks in advance for any help offered.

Make sure you install all the dependancies for the Apache-package as
specified on the sunfreeware-site[1]. Your httpd-binary might be
picking up the incorrect version of the Expat libs.

[1] http://www.sunfreeware.com/programlistsparc10.html#apache2


Rgds,
Kenneth Svee

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org