[Mono-list] MonoPosixHelper Not Found ?

Jonathan Pryor jonpryor at vt.edu
Tue Sep 12 19:17:28 EDT 2006


On Tue, 2006-09-12 at 08:07 -0500, met at uberstats.com wrote:
> I have 4 windows systems, one of which is the development machine.  
> Each is running the same deployed exe and set of libraries.  The  
> problem is that two of the four machines fail with the following  
> message when executing code in Mono.Unix.Catalog for gettext. The  
> worst part is that MonoPosixHelper.dll is in the same directory as the  
> exe and other libs required for intl.dll.
> 
> I understand this issue is a bit remote to directly assist with, but  
> if anyone has some ideas on tracking it down I would be very greatful.

Is this under Mono or .NET?

If under Mono, you probably need to edit $prefix/etc/mono/config, and
remove the <dllmap/> entry for MonoPosixHelper.  Furthermore, Win32
LoadLibrary() (which Mono uses to load MonoPosixHelper) will only look
in %PATH% and the same directory as the .exe doing the loading -- in
this case, the directory of mono.exe, NOT your managed exe.  (Other
directories are also searched; see
http://www.mono-project.com/dllimport).  Consequently, you'll probably
need to edit %PATH% to contain the directory holding intl.dll and
MonoPosixHelper.dll so that it can be LoadLibrary()'d without providing
a path.

I'm not sure what would go wrong under .NET.

 - Jon




More information about the Mono-list mailing list