Ralf Wildenhues wrote:
I used dlopen("...", RTLD_LAZY | RTLD_GLOBAL). It gave me a non-NULL handle, but subsequent dlsyms failed. I'm just learning all this dl stuff right now. Jeff's --enable-static seems to do exactly what I want (namely, make things work in the way that I'm familiar with!). I did try to figure out what OMPI was doing and it seemed to me it was using RTLD_LAZY | RTLD_GLOBAL, which is why I chose that.Also, recent libltdl should allow you to choose which scope you want in the first place, local or global, through lt_dladvise. For now, --enable-static seems to do exactly what I want. Further workarounds probably don't make any sense. |
- [OMPI devel] adding new functions to a BTL Eugene Loh
- Re: [OMPI devel] adding new functions to a BTL Jeff Squyres
- Re: [OMPI devel] adding new functions to a BTL Jeff Squyres
- Re: [OMPI devel] adding new functions to a BTL Eugene Loh
- Re: [OMPI devel] adding new functions to a BT... Ralf Wildenhues
- Re: [OMPI devel] adding new functions to ... Eugene Loh
- Re: [OMPI devel] adding new functions to ... Jeff Squyres
