Fw: [Mono-winforms-list] question about winelib
Peter Dennis Bartok
peter@novonyx.com
Fri, 28 May 2004 15:34:31 -0600
It is not possible to simply move, copy or symbolic-link winelib into a
location. It needs to be compiled with the specific locations of wine
and mono. It compiles references to those into the binary (no easy other
way, sorry)
That means that if you are using winelib from the precompiled packages
you need to have wine and mono in prefix=/usr.
If you have a mix, you need to get the sources for winelib and
specifically configure it with --prefix= and --with-wine=
If mono complains that it cannot find winelib.exe.so chances are it does
find it but cannot resolve dependencies. The mono versions built after
May 6th have an option where they you can enable more detailed errors
when loading a dependency if you 'export MONO_DEBUG=1' before running
mono. This should help diagnose the issue a bit. But you need either
build the CVS version or a prepackaged version built after that date.
Cheers,
peter
Pekus Cons. e Desenvolvimento wrote:
> Matt,
>
> I had a similar problem with glib. The solution was to use /usr instead of
> /usr/local. I got this trick with another developer in this newsgroup (Marco
> Ridoni), but he said that this solution is related mainly with RedHat
> distribution, I hope that helps you.
>
> Baccarin.
>
> ----- Original Message -----
> From: "matt" <mz392@nyu.edu>
> To: <mono-winforms-list@lists.ximian.com>
> Sent: Thursday, May 27, 2004 12:31 PM
> Subject: [Mono-winforms-list] question about winelib
>
>
>
>>Hello,
>>
>>I recently installed winelib into /usr/local/winelib.
>>
>>When trying to run SWF applications, I get this error:
>>System.DllNotFoundException: winelib.exe.so
>>
>>I even tried putting a symbolic link in /usr/lib for winelib.exe.so but
>
> this didn't help.
>
>>What can I do to make mono find winelib.exe.so?
>>
>>--Matt
>>_______________________________________________
>>Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>
>
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>