From owner-freebsd-questions@FreeBSD.ORG Sun Apr 10 23:12:56 2005 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 A063816A4CE for ; Sun, 10 Apr 2005 23:12:56 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 580F043D3F for ; Sun, 10 Apr 2005 23:12:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6E386519F5; Sun, 10 Apr 2005 16:12:55 -0700 (PDT) Date: Sun, 10 Apr 2005 16:12:55 -0700 From: Kris Kennaway To: freebsd-questions@freebsd.org Message-ID: <20050410231254.GA48319@xor.obsecurity.org> References: <20050410230847.GA6611@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <20050410230847.GA6611@SDF.LONESTAR.ORG> User-Agent: Mutt/1.4.2.1i Subject: Re: Binary linking/updating libraries 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: Sun, 10 Apr 2005 23:12:56 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Apr 10, 2005 at 07:08:47PM -0400, Justin R. Pessa wrote: > How do I relink a binary against a library after I have updated the lib? > For example I updated glib and now xchat complains about the library not > being installed as it was linked against the old version. Is there any > utility that can see which executables have library problems and relink > them accordingly? In general this is the wrong thing to do. If a library changes version, it's usually because it's no longer compatible with the old version of the library, and applications that use it need to be recompiled or they may no longer run properly. Alternatively, if you upgrade using portupgrade, the old library will be preserved so that existing applications will not be affected. Kris --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCWbL2Wry0BWjoQKURAkeQAKD4eRcqzjQwuRqOEnmvF3Mh+CEo5QCeMEki ksspwRS1QPLwtB7Pa3kRSxg= =y6o8 -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--