Re: Problem with elf and dynamic loading ...

From: Andreas Jaeger (aj@suse.de)
Date: Fri Jan 12 2001 - 06:16:10 EST


>>>>> Damien TOURAINE writes:

> Hi !
> I'm using dynamic library to load some part of a big software (that
> use several differents modules).

> The main program fully use the symboles of the shared object (through
> the dlsym command), however, the functions available in the module are
> not able to use the symbols of the main program.

> Is-it a bug of the kernel ?
> Is-it to avoid a potential hole of security ?
That's a question for glibc - it has nothing to do with the kernel.
To get it to work, your program should be compiled with -Bdynamic.

Andreas

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:33 EST