This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Error Shared lib ??


On Thu, 9 May 2002, Venkatakrishnan, V wrote:

> Bharathi, how are you loading it?  Using dlopen?  If yes, then one thing
> that I've noticed is that dlopen() does not take a relative path but only an
> absolute one, so you would wanna say 
> Lib_handle=dlopen("/path1/path2/path3/libind.so",RTLD_LAZY); instead of
> maybe
> Lib_handle=dlopen("../../libind.so",RTLD_LAZY);

Thank you,

    NO. I am not trying to load the lib.
    I am calling the lib function, Just
    how we call our the local function.

Bye,
-- 
--==| Bharathi S | BSB-364 DONLab | IIT-Madras |==--
Good friendship shines like waxing moon,
The bad withers like waning moon.
*In Tirukkural of Holy Tamil poet Tiruvalluvar.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]