This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
dlopen issue
- From: naveen yadav <yad dot naveen at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Thu, 12 Jan 2012 15:46:01 +0530
- Subject: dlopen issue
Dear All,
I have precompiled source code. I want to know which are library are
open using dlopen.
I try to put printf in
vi ../dlfcn/dlopen.c
Glibc compile well, but no print is coming when dlopen is called.
Is this not the correct way ? If yes how can we get this info .
void *
dlopen (const char *file, int mode)
{
printf("\n %s\n",file);
return __dlopen (file, mode, RETURN_ADDRESS (0));
}