From: pauls@locust.cic.net (Paul Southworth)
Subject: Re: any utilities to work with shared libraries?
Date: 11 Nov 1994 15:39:11 GMT [thread overview]
Message-ID: <3a036v$grt@spruce.cic.net> (raw)
In-Reply-To: 39mc5o$6fj@news.nevada.edu
In article <39mc5o$6fj@news.nevada.edu>, Ron Young <ron@nevada.edu> wrote:
> Does anyone know if there are any utilities to allow me to replace
> routines in an existing shared library? Under sunos you could do
> this by using the x option of ar.
Your memory serves you ill. Under SunOS you got a *static* library
that contained *shared* objects, in /usr/lib/shlib.etc, and you did
an "ar x" on that to get the goodies out and then build a new
shared library. But under SunOS, you still can't extract objects
from an existing *shared* library:
% ar x /usr/lib/libc.so.1.8
ar: /usr/lib/libc.so.1.8 not in archive format
> According to the manual, you use the -shared and -no_archive
> options to ld to build shared libs, but I haven't been able
> to find anything that will allow you to extract/replace routines
> in an existing shared library.
There aren't any.
> If it makes any difference, I want to be able to replace a couple
> of routines in libc.so.
What you need is a set of shared objects under OSF/1 that can be used to
generate a new shared library. As far as I know, this is not available
to you under OSF/1.
--
Paul Southworth
CICNet Systems Support
pauls@cic.net
next prev parent reply other threads:[~1994-11-11 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-11-07 23:10 any utilities to work with shared libraries? Ron Young
1994-11-11 15:39 ` Paul Southworth [this message]
1994-11-11 20:57 ` Rick Murphy
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox