mail-archives/mono-osx/2008-February/001245.html

101 строка
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Mono.Framework 1.2.6 - System.DllNotFoundException
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Mono.Framework%201.2.6%20-%20System.DllNotFoundException&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="001244.html">
<LINK REL="Next" HREF="001252.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Mono.Framework 1.2.6 - System.DllNotFoundException</H1>
<B>Ben Hakim</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Mono.Framework%201.2.6%20-%20System.DllNotFoundException&In-Reply-To="
TITLE="[Mono-osx] Mono.Framework 1.2.6 - System.DllNotFoundException">bennyhakim at gmail.com
</A><BR>
<I>Wed Feb 20 23:37:57 EST 2008</I>
<P><UL>
<LI>Previous message: <A HREF="001244.html">[Mono-osx] Problems installing Mono on OSX 10.4
</A></li>
<LI>Next message: <A HREF="001252.html">[Mono-osx] Mono.Framework 1.2.6 - System.DllNotFoundException
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1245">[ date ]</a>
<a href="thread.html#1245">[ thread ]</a>
<a href="subject.html#1245">[ subject ]</a>
<a href="author.html#1245">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi everyone, I'm new to the list (but not to Mono) and wanted to say hello
:<i>)
</I>I'm using the System.IO.Compression.DeflateStream to handle some streams.
This apparently depends on Mono.Posix.Dll which internally calls a
&quot;DllImport&quot; on &quot;MonoPosixHelper.&quot; 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:
&lt;configuration&gt;
&lt;dllmap dll=&quot;MonoPosixHelper&quot;
target=&quot;/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/libMonoPosixHelper.dylib&quot;
/&gt;
&lt;/configuration&gt;
Has anyone experienced an issue like this before?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20080220/998cc5f3/attachment-0001.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20080220/998cc5f3/attachment-0001.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001244.html">[Mono-osx] Problems installing Mono on OSX 10.4
</A></li>
<LI>Next message: <A HREF="001252.html">[Mono-osx] Mono.Framework 1.2.6 - System.DllNotFoundException
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1245">[ date ]</a>
<a href="thread.html#1245">[ thread ]</a>
<a href="subject.html#1245">[ subject ]</a>
<a href="author.html#1245">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>