On Dec 20, 2011, at 1:06 PM, Jonathan Shore wrote:
> I attempted to use System.IO.Compression.DeflateStream and encountered a DLL 
> load error when DeflateStream attempts to load the MonoPosixHelper DLL.   
> Searching in 
> 
>       /Library/Frameworks/Mono.framework/Libraries/mono
> 
> did not find the MonoPosixHelper dll.

That's because it's:

        /Library/Frameworks/Mono.framework/Libraries/libMonoPosixHelper.dylib

How are you attempting to use DeflateStream? It works for me from `csharp` on 
OSX:

> $ csharp 
> Mono C# Shell, type "help;" for help
> 
> Enter statements below.
> csharp> using System.IO.Compression;
> csharp> using System.IO;         
> csharp> var s = File.OpenWrite ("foo.z");
> csharp> var c = new DeflateStream (s, CompressionMode.Compress);
> csharp> var o = new StreamWriter (c);
> csharp> o.WriteLine ("Hello, world!");
> csharp> o.Close();
> csharp> var i = new StreamReader (new DeflateStream (File.OpenRead ("foo.z"), 
> CompressionMode.Decompress));
> csharp> i.ReadLine();
> "Hello, world!"

 - Jon

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to