[Mono-dev] Same way for linux library as windows library

StApostol stapostol at gmail.com
Wed Apr 16 11:59:34 EDT 2008


I sent an email on the very same topic a few days ago, but it seems it never
arrived :/

What if the project is a class library? There's no startup script in that
case, unless you move that burden to the consumers of your library (which is
not really nice or developer friendly).

Up to Mono 1.2.6, you could place a dll.config file in the
~/.mono/assemblies/[App name] directory, which was a valid workaround for
this: your application could create the necessary dll.config file at
runtime, which would point to the correct library (environment or override).
Sadly this no longer works in Mono 1.9 (why?)


On 4/16/08, Robert Jordan <robertj at gmx.net> wrote:
>
> Petit Eric wrote:
> >
> > as we know under windows, a app try to find library, first in the same
> > dir as the executable, if there isn't it try to shearch them in
> > windows and system32 (environment).
> >
> > So my question is, can we have the same way under linux :
> > - official library in the environment (/lib, /usr/lib ..........)
> > - "Unofficial" library in the same dir as the executable of my app
>
>
> http://www.mono-project.com/Guidelines:Application_Deployment
>
> Search for LD_LIBRARY_PATH.
>
>
> Robert
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080416/a0671b05/attachment.html 


More information about the Mono-devel-list mailing list