Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2004 00:08:23 -0400
From:      Parv <parv@pair.com>
To:        cry stone <crystone@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: failed to start X
Message-ID:  <20040913040823.GA2793@moo.holy.cow>
In-Reply-To: <74a758ec040912182542c9595b@mail.gmail.com>
References:  <74a758ec040912182542c9595b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 



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