Skip site navigation (1)Skip section navigation (2)
Date:      16 Jun 2003 18:53:40 -0400
From:      "Brandon S. Allbery " KF8NH <allbery@ece.cmu.edu>
To:        Joe Kelsey <joek@mail.flyingcroc.net>
Cc:        questions@freebsd.org
Subject:   Re: Tools to modify shared libraries
Message-ID:  <1055804020.79093.2.camel@rushlight.kf8nh.apk.net>
In-Reply-To: <3EEE4717.2090409@mail.flyingcroc.net>
References:  <3EEE4717.2090409@mail.flyingcroc.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2003-06-16 at 18:39, Joe Kelsey wrote:
> Has anyone ever come across general-purpose tools for modifying shared 
> libraries?  What I want to do is to edit the list of "needed" shared 
> libraries to correct the common mistakes that developers make in 
> creating shared objects with large lists of shared libraries.

GNU objcopy --- but it's a bit *too* general; you'd need to extract the
.dynamic section, edit it using some binary editing tool, and re-add it.

I doubt there are any tools of the kind you're looking for because the
details are too different between different systypes; even if someone
had developed one, it's just as likely to be for Linux or Solaris as for
*BSD, and as a result wouldn't be particularly useful.

-- 
brandon s allbery [openafs/solaris/japh/freebsd] allbery@kf8nh.apk.net
system administrator [linux/heimdal/too many hats] allbery@ece.cmu.edu
electrical and computer engineering                              KF8NH
carnegie mellon university  [better check the oblivious first -ke6sls]



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