From owner-freebsd-questions@FreeBSD.ORG Mon Sep 13 04:06:17 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 6ADFF16A4CE for ; Mon, 13 Sep 2004 04:06:17 +0000 (GMT) Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF45343D48 for ; Mon, 13 Sep 2004 04:06:16 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([69.160.71.53]) by mta13.adelphia.netESMTP <20040913040616.UZLT9978.mta13.adelphia.net@default.chvlva.adelphia.net>; Mon, 13 Sep 2004 00:06:16 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id C8CD859A4; Mon, 13 Sep 2004 00:08:23 -0400 (EDT) Date: Mon, 13 Sep 2004 00:08:23 -0400 From: Parv To: cry stone Message-ID: <20040913040823.GA2793@moo.holy.cow> Mail-Followup-To: cry stone , freebsd-questions@freebsd.org References: <74a758ec040912182542c9595b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74a758ec040912182542c9595b@mail.gmail.com> cc: freebsd-questions@freebsd.org Subject: Re: failed to start X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: f-questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 04:06:17 -0000 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! 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.) - Parv --