From owner-freebsd-ports@FreeBSD.ORG Wed Mar 29 04:50:39 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE57816A401 for ; Wed, 29 Mar 2006 04:50:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E18143D46 for ; Wed, 29 Mar 2006 04:50:39 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 57E4A1A4DAB; Tue, 28 Mar 2006 20:50:39 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 98D6351F4D; Tue, 28 Mar 2006 23:50:38 -0500 (EST) Date: Tue, 28 Mar 2006 23:50:38 -0500 From: Kris Kennaway To: Amarendra Godbole Message-ID: <20060329045038.GA45765@xor.obsecurity.org> References: <294439d20603282038i6026c5bai3ddf4263def23548@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <294439d20603282038i6026c5bai3ddf4263def23548@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org Subject: Re: Broken dependency on expat. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 04:50:39 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 29, 2006 at 04:38:29AM +0000, Amarendra Godbole wrote: > Hi, >=20 > I tried to build apache22 from the ports (/usr/ports/www/apache22/). > Now, the initial build failed, because of a broken dependency on > libexpat - as apache22 needed a newer version than the one I had > (1.95.*). >=20 > So, I forcibly deinstalled, and reinstalled expat2 from > /usr/ports/textproc/expat2/, and apache22 built and installed fine. >=20 > So far so good... >=20 > ...but upgrading libexpat removed the original libexpat.so.5 link, and > put a libexpat.so.6...which caused all my X based programs, including > the window manager to break! X just refused to start, and so did many > other programs. >=20 > Now, I just put back the softlink libexpat.so.5, and poof...things > were up and running again... >=20 > So my question is: is there a better way to handle such a scenario? Or > in case of libraries, can't the original links be preserved, and new > links added (I guess this cannot be done). Use portupgrade. Kris --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEKhIeWry0BWjoQKURAgvKAKD+V+j3VGmhP+/SyxqHqTKz8UUJywCg5OqS hCzuo5zP/J9mhJMifq0hY8c= =XERA -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--