Binary linking/updating libraries

Kris Kennaway kris at obsecurity.org
Sun Apr 10 16:12:56 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050410/9e0b8240/attachment.bin


More information about the freebsd-questions mailing list