bug-glibc
[Top][All Lists]
Advanced

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

Specifying the dependent library order for symbol resolution


From: Jaimon Jose
Subject: Specifying the dependent library order for symbol resolution
Date: Tue, 24 May 2005 11:52:49 +0530
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

Hi,
We have an application that loads libraries A and B.  Both A and B links
to a set of libraries which export similar set of APIs and even few of
the APIs have the same name.  Is there a way to specify the order of
libraries to be searched when a symbol needs to be resolved for library
A or B.  So that, we ensure that A gets the symbols from its dependent
libraries always and B gets its symbols from its dependent libraries. 
One option we considered is to version the conflicting symbols in each
of the dependent libraries.  Is there any other way...?  Also, what's
the steps we follow while trying to resolve a symbol?  Is it different
from doing a dlsym to runtime loader trying to resolve the symbol?

Thanks in advance,
--jaimon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]