I have a main program and and a library that both use a class Class1 and a
global array. The main program load the library with dlopen.
In the code of the library, I create a new class1 and the method of this
class use the array defined in the program insted of the library. It seem
that the code called is the one linked with the program instead of the code
linked with the library.
How can I tell the linker (or whatever is causing the problem) that code in
the library should use symbol of the library, not the symbol with the same
name in the main program.
I use RedHat 9.0, Gcc.
Romaric RILLET