This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Shared library question
- From: "H . J . Lu" <hjl at lucon dot org>
- To: "Zagorodnev, Grigory" <Grigory_Zagorodnev at stl dot sarov dot ru>
- Cc: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Wed, 19 Jun 2002 07:08:56 -0700
- Subject: Re: Shared library question
- References: <51524B6C689ED4118D4F0090273ACE32928844@odyssey.stl.sarov.ru>
On Wed, Jun 19, 2002 at 05:58:06PM +0400, Zagorodnev, Grigory wrote:
> There is a little question about...
>
> I have a shared library contaning some symbol 'foo'. This symbol has no any
> version defined.
>
> Is there a way to keep symbol accessible at run-time but hide it at build
> time?
> So any application previously built with (linked against) that library stay
> workable but any new application will not see this symbol i.e. linker will
> not resolve symbol foo from that library.
You didn't say if you could rebuild the shared library from source.
H.J.