This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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]

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));
}


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