[Mono-dev] Mono 1.9 and dll.config files in ~/.mono/assemblies
stapostol at gmail.com
Sun Apr 13 12:34:05 EDT 2008
it looks like Mono 1.9 has stopped picking up dll.config files placed in
the ~/.mono/assemblies directory. Was this intended? Is there a specific
reason for this change?
I was planning to use this functionality in OpenTK
(http://www.opentk.com). The greatest reason was to simplify
distribution: different installation have different versions of OpenGL
and OpenAL installed (with different names, e.g. libopenal.so.0 vs
libopenal.so.1) - OpenTK would detect the installed version of OpenGL
and OpenAL, and create a suitable dll.config file on first run. The
other reason would be to override specific versions of OpenAL which have
known issues, without needing administrative rights to do so.
Are there any plans to reintroduce this functionality?
If not, is there a way to specify which native library to load, outside
of the dll.config file? (Note that OpenTK may be installed in places
without non-admin write access, so copying the correct library at
runtime is not an option). I have tried using ldopen to load a specific
library into the address space of the application, but unlike
LoadLibrary on .Net/Windows this doesn't work on Mono/Linux.
More information about the Mono-devel-list