Binary linking/updating libraries

2005-04-10 Thread Justin R. Pessa
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?

Thanks in advance,

- j 

._
| Justin R. Pessa 
| http://jstn.sdf1.org


pgpgs0VzRS33k.pgp
Description: PGP signature


Re: Binary linking/updating libraries

2005-04-10 Thread Kris Kennaway
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


pgpabeqKDPs8y.pgp
Description: PGP signature


Re: Binary linking/updating libraries

2005-04-10 Thread Justin R. Pessa
On Apr 10 04:12PM, Kris Kennaway wrote:
 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

Not what I wanted to hear but I appreciate your help! ;) I'll tinker
with portupgrade and cross my fingers!

Thanks,

- j

._
| Justin R. Pessa 
| http://jstn.sdf1.org


pgpRvaeM9Ww0D.pgp
Description: PGP signature