[Mono-osx] Mono.Framework 1.2.6 - System.DllNotFoundException

Ben Hakim bennyhakim at gmail.com
Wed Feb 20 23:37:57 EST 2008


Hi everyone, I'm new to the list (but not to Mono) and wanted to say hello
:)
I'm using the System.IO.Compression.DeflateStream to handle some streams.
 This apparently depends on Mono.Posix.Dll which internally calls a
"DllImport" on "MonoPosixHelper."  The executable that I'm using has been
bundled with Mono Linker / mkbundle2.exe with the --deps option.  Everything
is working great, EXCEPT for functions requiring MonoPosixHelper.  The
following exception is raised:

System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/libMonoPosixHelper.dylib
  at (wrapper managed-to-native)
System.IO.Compression.DeflateStream:create_z_stream (
System.IO.Compression.CompressionMode,bool)
  at System.IO.Compression.DeflateStream..ctor
(System.IO.StreamcompressedStream, CompressionMode mode, Boolean
leaveOpen, Boolean gzip)
[0x00000]
  at System.IO.Compression.DeflateStream..ctor
(System.IO.StreamcompressedStream, CompressionMode mode, Boolean
leaveOpen) [0x00000]
  at (wrapper remoting-invoke-with-check)
System.IO.Compression.DeflateStream:.ctor (System.IO.Stream,
System.IO.Compression.CompressionMode,bool)


The file definitely exists
at /Library/Frameworks/Mono.framework/Versions/1.2.6/lib/libMonoPosixHelper.dylib

This location has been referenced through a DllMap entry in the following
.config file:

<configuration>
        <dllmap dll="MonoPosixHelper"
target="/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/libMonoPosixHelper.dylib"
/>
</configuration>

Has anyone experienced an issue like this before?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080220/998cc5f3/attachment-0001.html 


More information about the Mono-osx mailing list