i have an application and two or more shared libraries (libA and libB).
libA has some static variables used by functions in libA.
the application is linked dynamically to libA.
now the application loads libB (with dlopen).
but libB uses functions from libA.
does libB have the same variables in libA as the application?
or does libB and the application have their own set of variables in the