Re: Problem with elf and dynamic loading ...

Andreas Jaeger (aj@suse.de)
12 Jan 2001 12:16:10 +0100


>>>>> 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/