[Mono-bugs] [Bug 588143] DllNotFoundException thrown if first call to unmanaged library is done as a result of the initialization of a static field

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 23 19:24:39 EDT 2010



--- Comment #10 from Andrés G. Aragoneses <knocte at gmail.com> 2010-03-23 23:24:37 UTC ---
Created an attachment (id=350140)
 --> (http://bugzilla.novell.com/attachment.cgi?id=350140)
MONO_LOG_LEVEL=info output

(In reply to comment #9)
> No idea why it works in that case, but I doubt this is a mono problem, we
> simply pass the name to dlopen() and doesn't pass any directory name or such.

It seems you don't pass any directory names, but you *do* try to load with the
current "./" directory in some cases (that's why it works with the workaround).

I'm attaching now the output of running with this command:
LANG=en MONO_LOG_LEVEL="info" MONO_LOG_MASK="dll" mono cons.exe  > logerr.log

So you can see that the fallback to run the dlopen with the current directory
is only done when no .config file is found it seems.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list