Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 10:11:39 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org, Oxid <oxid_o@mail.ru>
Subject:   Re: Problem: /libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
Message-ID:  <200405031011.39703.kstewart@owt.com>
In-Reply-To: <98089864.20040503205422@mail.ru>
References:  <1179287032.20040503165827@mail.ru> <1679093874.20040503173909@mail.ru> <98089864.20040503205422@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 03 May 2004 09:54 am, Oxid wrote:
> SM>> On Mon, 3 May 2004, Oxid wrote:
> >>> I recive this message: /libexec/ld-elf.so.1: Shared object
> >>> "libexpat.so.4" not found , when trying to start apache :(
>
> SM>> You might have recently upgraded (intentionally or not) expat.
> Do a SM>> pkg_info | grep -i expat, if it says expat-1.95.7 then you
> need to SM>> reinstall the apache module which relies on expat
> (usually php). To really SM>> make sure that everything's in sync
> with the new expat, see SM>> /usr/ports/UPDATING, entry 20040313 for
> authoritative recommendation. SM>> (portupgrade -rf textproc/expat2).
>
> SM>> --mendonan
> SM>> "Yang mimpikan secangkir kopi panas dengan selimut.."
> SM>>  (Dreaming of a cup of hot coffee, and a blanket..")
>
>
> O>    Here:
>
> O> $ pkg_info | grep -i expat
> O> expat-1.95.6_1      XML 1.0 parser written in C
> O> p5-XML-Parser-2.34  Perl extension interface to James Clark's XML
> parser, expat
>
> O> - do i still should reinstall php?
>
>
>
> I have reinstalled APACHE...but i still recive: /libexec/ld-elf.so.1:
> Shared object "libexpat.so.4" not found
>
> How can i fix it? PLEASE HELP!
>
> I can't start APACHE becose of that and i can't install PHP becose of
> that error :(((
>
> HELP!

I think you are running into the following problem. Libexpat.so.4 is the 
old library version. The current version is expat-1.95.7, which 
produces version ..so.5. The update changed the interface, which caused 
the following section to be added to /usr/ports/UPDATING.

20040313:
  AFFECTS: users of textproc/expat2

  Users of expat2 (and its many dependencies) should do the following to
  properly update expat2 and all of its dependencies:

  portupgrade -rf textproc/expat2

Did you install Apache from a package, which was built using the old 
version of expat. At any rate, I think you have a version that wants 
the old version of expat.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405031011.39703.kstewart>