in reply to Re: Tkx and PERL_DL_NONLAZY
in thread Tkx and PERL_DL_NONLAZY

Hmm, kinda hard to believe, IIRC even win32 won't look for symbols in a different dll/so

If you can trigger it, strace ought to help -- also lsof -p, or ldd /objdump

Replies are listed 'Best First'.
Re^3: Tkx and PERL_DL_NONLAZY
by mje (Curate) on Jun 26, 2012 at 10:39 UTC

    Read dlopen man page and look at LT_GROUP, LT_GLOBAL etc. Those flags change the way symbols are resolved. As you can change the way symbols are resolved if you have 2 symbols with the same name you can pick the wrong one e.g., symbols can be resolved downwards or from the top. I've seen it happen.

    See Why do I get "SQLSetConnectOption err=-2" errors in my Perl scripts for an example.