From owner-freebsd-questions@FreeBSD.ORG Mon May 3 12:33:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDE3516A4CE for ; Mon, 3 May 2004 12:33:06 -0700 (PDT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39ED643D2F for ; Mon, 3 May 2004 12:33:06 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i43JWajw004057; Mon, 3 May 2004 12:32:37 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org, Oxid Date: Mon, 3 May 2004 12:33:04 -0700 User-Agent: KMail/1.6.2 References: <1179287032.20040503165827@mail.ru> <200405031011.39703.kstewart@owt.com> <678812105.20040503224449@mail.ru> In-Reply-To: <678812105.20040503224449@mail.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200405031233.04387.kstewart@owt.com> Subject: Re: Problem: /libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 19:33:07 -0000 On Monday 03 May 2004 11:44 am, Oxid wrote: > =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Kent. > > =C2=FB =EF=E8=F1=E0=EB=E8 3 =EC=E0=FF 2004 =E3., 21:11:39: > > KS> 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! > > KS> I think you are running into the following problem. Libexpat.so.4 > is the KS> old library version. The current version is expat-1.95.7, > which KS> produces version ..so.5. The update changed the interface, > which caused KS> the following section to be added to > /usr/ports/UPDATING. > > KS> 20040313: > KS> AFFECTS: users of textproc/expat2 > > KS> Users of expat2 (and its many dependencies) should do the > following to KS> properly update expat2 and all of its > dependencies: > > KS> portupgrade -rf textproc/expat2 > > KS> Did you install Apache from a package, which was built using the > old KS> version of expat. At any rate, I think you have a version > that wants KS> the old version of expat. > > KS> Kent > > I tryed to reinstall expat2: > > make install > =3D=3D=3D> Patching for expat-1.95.7 > =3D=3D=3D> Applying FreeBSD patches for expat-1.95.7 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to configure.rej > > >> Patch patch-configure failed to apply cleanly. > > *** Error code 1 > > Stop in /usr/ports/textproc/expat2. > > -- > > Where can i get expat in tar.gz. > I mean..not from ports..? It depends on how your download status is. I would think about=20 downloading one of the 4.10-rc's. If you are careful, you should be=20 able to find one that has packages/All on it.=20 Up front, you have a systematic problem here because on my system, there=20 are probably 40-50 ports that depend on expat2 and you have to upgrade=20 all of them.=20 =46ruitsalad has some of them that are of interest to KDE. That site is http://rabarber.fruitsalad.org/packages/3.2.2-final-6/4-STABLE/All/ Like all mirrors, they run a bit behind. I recently built everything=20 (-rRfa) on ruby, my test computer, and 303 ports required 12:20. I use=20 an Intel P-II 400 for some stuff and it runs close to 16x slower at=20 building things than ruby does. Kent =2D-=20 Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html