On Jun 4, 2013, at 9:55 AM, Brice Goglin <Brice.Goglin_at_[hidden]> wrote:
>> One option might be to try to lt_dlsym one of the hwloc symbols that you know you'll need in the plugin (or any public hwloc symbol, for that matter). If ltdl_sym gets NULL back for the hwloc global symbol, then the plugin should disqualify itself and have itself unloaded (perhaps with some way of reporting what/why it did that).
> lt_dlsym doesn't seem to accept special handles such as RTLD_DEFAULT
> like dlsym does, and we don't have a handle on hwloc. I don't see how to
> do that with lt_dlsym?
Can we lt_dlopen(NULL) to get a handle to this process?
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/