This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Error Shared lib ??
- From: Bharathi S <bharathi at lantana dot tenet dot res dot in>
- To: "Venkatakrishnan, V" <v dot venkatakrishnan at channels dot usa dot xerox dot com>
- Cc: "'GNC GCC'" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 10 May 2002 06:12:02 +0530 (IST)
- Subject: 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.