[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
Sun Mar 14 01:14:43 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=588143

http://bugzilla.novell.com/show_bug.cgi?id=588143#c8


--- Comment #8 from Andrés G. Aragoneses <knocte at gmail.com> 2010-03-14 06:14:42 UTC ---
(In reply to comment #7)
> Are you sure the .so file is in your LD_LIBRARY_PATH ?

No. But:

1. The .so is in the same directory as the managed libraries and I run mono in
the same directory.
2. If the above reason is not enough, why it doesn't throw DllNotFoundException
with the workaround applied (note that, with the workaround, it's
Banshee.Mirage.dll the one which does the first dllimport call, not
Mirage.dll).

So, either it shouldn't throw the exception or it should throw it in both
cases, for consistency.

-- 
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