Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2005 16:12:55 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Binary linking/updating libraries
Message-ID:  <20050410231254.GA48319@xor.obsecurity.org>
In-Reply-To: <20050410230847.GA6611@SDF.LONESTAR.ORG>
References:  <20050410230847.GA6611@SDF.LONESTAR.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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