[Mono-list] DllImport on *.so files
Dag Wieers
dag@wieers.com
Sun, 17 Aug 2003 08:25:31 +0200 (CEST)
Hi,
Because of the fact that most uses of DllImport is done on the .so files
(with libmajor), anyone interested in running a mono-application need to
have these development-packages installed.
These .so files are usually symbolic links to a versioned library that
reside only in development packages. Now the problem is eg. that for my
small little proxy applet my users have to install about more than 500MB
of development packages that they really don't need.
Of course we could add these symbolic links to the mono/gtk-sharp package,
but that's not such a good idea because that may break the development
packages (especially when the links are not to the same
absolute/relative target).
So the best way to deal with this, would be to use a versioned library
inside DllImport or make DllImport more intelligent about what library to
use. (eg. always use the most recent one ?)
PS I consider this a priority if we want to demonstrate that Mono is
already usable for writing applications. And that may be a good way to
attract new developers.
Kind regards,
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ --
[Any errors in spelling, tact or fact are transmission errors]