[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ELF extension for starting symbol search from module dependencies

On Thu, 2002-08-22 at 21:35, Maciej W. Rozycki wrote:
> On 22 Aug 2002, Luca Barbieri wrote:
> > >  Hmm, what if two functions which get imported from different versions of
> > > the same library operate on a static (private to the library) variable
> > > that is needed for a proper operation for some reason?  You'd better
> > > rebuild the sources to use a single version of each library instead. 
> > I don't see how this could cause problems. Each png library should bind
> > its own references to its own symbols.
>  Do you suggest your proposed change should only be activated for the png
> library? 
The proposed change is activated for everything that is compiled with
the -Blocal linker option.

For the specific case of libpng, the problem can be solved by linking
libpng.so.2 and libpng.so.3 with -Bsymbolic and all libraries that use
them with -Blocal (alternatively you can also solve this with versioned
symbols but this causes more potential compatibility problems).

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: