[Mono-dev] DllNotFoundException and shared libraries
Jonathan Pryor
jonpryor at vt.edu
Thu Dec 15 07:16:03 EST 2005
On Thu, 2005-12-15 at 12:33 +0530, Raja R Harinath wrote:
> But, do you have libfontinfo.so? Note the lack of the major number in
> the DllImport line.
>
> Unless you have reason to require the development package associated
> with a shared library, it's probably not a good idea to DllImport the
> naked .so extension.
That's why we have assembly.dll.config files, so you can provide
<dllmap/> entries mapping the DllImport library to the actual fully
versioned library; see:
http://www.mono-project.com/Dllimport#Library_Names
Dllmaps also help with .NET compatibility.
- Jon
More information about the Mono-devel-list
mailing list