[Mono-dev] [Mono-list] Same way for linux library as windows library
gnorton at novell.com
Sat Apr 19 10:02:20 EDT 2008
Miguel answered your email and asked you to attach a strace:
On 16-Apr-08, at 11:59 AM, StApostol wrote:
> 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
> > 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
> Search for LD_LIBRARY_PATH.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list