Professional Web Applications Themes

Binary linking/updating libraries - FreeBSD

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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (NetBSD) iD8DBQFCWbH/Ppr5wVVwYfURAmWlAKC27hWRJoiq/pgv6zyGmJ7gozHSeACfQYMx K+9MZihZle+Net2WKiAbTdI= =Pn2D -----END PGP SIGNATURE-----...

  1. #1

    Default Binary linking/updating libraries

    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

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.3 (NetBSD)

    iD8DBQFCWbH/Ppr5wVVwYfURAmWlAKC27hWRJoiq/pgv6zyGmJ7gozHSeACfQYMx
    K+9MZihZle+Net2WKiAbTdI=
    =Pn2D
    -----END PGP SIGNATURE-----

    Justin Guest

  2. #2

    Default Re: Binary linking/updating libraries

    On Sun, Apr 10, 2005 at 07:08:47PM -0400, Justin R. Pessa wrote: 

    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

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCWbL2Wry0BWjoQKURAkeQAKD4eRcqzjQwuRqOEnmvF3 Mh+CEo5QCeMEki
    ksspwRS1QPLwtB7Pa3kRSxg=
    =y6o8
    -----END PGP SIGNATURE-----

    Kris Guest

  3. #3

    Default Re: Binary linking/updating libraries

    On Apr 10 04:12PM, Kris Kennaway wrote: 
    >
    > 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[/ref]

    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

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.3 (NetBSD)

    iD8DBQFCWbN+Ppr5wVVwYfURAuhcAJ9NjaMOnR40dIWxoxZ8OF mEwLUrYQCfYkkC
    6gtCMijO4n9FackGT6KIaBg=
    =9cIH
    -----END PGP SIGNATURE-----

    Justin Guest

Similar Threads

  1. Amazing discovery? Loading, Linking, and Libraries...
    By FreshLaundry in forum Macromedia Flash
    Replies: 1
    Last Post: November 23rd, 03:36 AM
  2. Updating System Libraries
    By Raj Mohan in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: August 26th, 01:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139