From owner-freebsd-questions@FreeBSD.ORG Mon Sep 13 08:23:04 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 2059716A4CE for ; Mon, 13 Sep 2004 08:23:04 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD8B943D4C for ; Mon, 13 Sep 2004 08:23:03 +0000 (GMT) (envelope-from crystone@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so225552rnl for ; Mon, 13 Sep 2004 01:22:57 -0700 (PDT) Received: by 10.38.207.8 with SMTP id e8mr1110015rng; Mon, 13 Sep 2004 01:22:56 -0700 (PDT) Received: by 10.38.76.30 with HTTP; Mon, 13 Sep 2004 01:22:56 -0700 (PDT) Message-ID: <74a758ec04091301224e4e0cd4@mail.gmail.com> Date: Mon, 13 Sep 2004 16:22:56 +0800 From: "Eric.Yu" To: f-questions , cry stone In-Reply-To: <20040913040823.GA2793@moo.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <74a758ec040912182542c9595b@mail.gmail.com> <20040913040823.GA2793@moo.holy.cow> Subject: Re: failed to start X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Eric.Yu" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 08:23:04 -0000 On Mon, 13 Sep 2004 00:08:23 -0400, Parv wrote: > in message <74a758ec040912182542c9595b@mail.gmail.com>, > wrote cry stone thusly... > > > > after installed apache + mysql + php from port,when i run startx i got > > "/libexec/ld-elf.so.1: Shared object libexpat.so.4 not found, required > > by libfontconfig.so.1" > > X Windows has nothing to do w/ apache, mysql, or php. > > How did you install last three pieces of software anyway? > > > > i google it find that because the expat was upgrade to > > expat-1.95.7,and the libexpat.so.4 is instead by libexpat.so.5,so > > i run portupgrade -rf textproc/expat2 > > You need to recompile all the software that was dependent on > libexpat.so.4 so that it would be dependent on libexpat.so.5. > > In the mean time, see if a link from libexpat.so.5 to libexpat.so.4 > would satisfy the failing applications. That did work for me until > i had the time to recompile the depending software. > > For the next time, remember to upgrade depending software when > you upgrade dependency software. > > I personally stay away from using portupgrade to actually do > upgrade; wait for others to resolve your issues w/ portupgrade. > > > > and make world but it still failed. > > Wow, that is really unnecessarily excessive! YES,it cost me 3 hours to finish it! > > You can upgrade ports software from the ports w/o the need of > upgrading the base system. (In most cases anyway. Sometimes one > would need to upgrade base system *eventually* to be able to > build/install software from ports. But that's another thread.) Agree with you! I would not miss it next time! Thanks for your reply. > > > - Parv > > -- > >