|
|
Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxx> wrote:
> Christian Pontesegger <schnitten@xxxxxx> writes:
> > but if I add an instance of B to the application
> >
> > B myB;
> > void mHandle = dlopen("libB.so", RTLD_NOW);
> > ...
> > dlclose(mHandle);
> >
> > I get a crash using gcc-4.1.2 on linux:
> How could your application "use B" without linking to libB ?
> Your description of the problem is likely incomplete.
I agree. It certainly makes no sense to dopen libB if the application
is already linked against libB.
> If you could produce a small *complete* test case that replicates
> the problem, we'll likely be able to tell you exactly what's wrong.
Right.
Andrew.
|
|