Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Tkx and PERL_DL_NONLAZY

by Anonymous Monk
on Jun 25, 2012 at 12:48 UTC ( [id://978198]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://978198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-29 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found