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

Petit Eric surfzoid at gmail.com
Wed Apr 16 15:19:29 EDT 2008


2008/4/16, StApostol <stapostol at gmail.com>:
>
>
> 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
> >
>
>
> _______________________________________________
>  Mono-devel-list mailing list
>  Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
in fact i spoke about linux native library (.so) not windows/mono one (.dll)


More information about the Mono-devel-list mailing list