Re: dlopen() sees some symbols, but not others




Paul Pluzhnikov wrote:

In fact, another
function calaled LogFormattedElement() in the same source module was
resolvable and calls FormatElement() internally. As long as my
dlopen'd library called this second function, it worked.

Hmm, that's inconsistent with my mental model of how AIX linking
works. Are you sure? Can you construct a small test case?


More info. I took out the explicit call to FormatElement in my main
app, and nm still reports it as there, but dlopen doesn't see it:

FormatElement:F-1 - 732

But with the explicit call in the main app, nm reports 2 entries for
FormatElement, and dlopen does see it:

FormatElement D 536986860 12
FormatElement:F-1 - 732

The 'nm' man page describes the D entry as a global data symbol, but I
don't see any explanation for the :F-1 entry. Any idea what that
means?

Thanks,
Rob

.