assassqassassqqqqqqqqqqqqq

Sent from my Windows MobileĀ® phone.

________________________________
From: Tristan Zajonc <[email protected]>
Sent: Saturday, May 29, 2010 3:59 PM
To: Discussion of IronPython <[email protected]>
Subject: [IronPython] ctypes on Mono

I'm running the the latest IronPython 2.6.1 (.NET 2.0 version) with Mono.  I 
cannot import ctypes.

Is this behavior expected?  Any solutions?  Here are the exact results:

On OSX:
IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
Traceback (most recent call last):
SystemError: libdl.so

On Ubuntu (using trunk Mono):

IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
Traceback (most recent call last):
OSError: IronPython.Runtime.Exceptions.OSException: cannot load library
  at IronPython.Modules.CTypes.LoadLibrary (System.String library, Int32 mode) 
[0x00000] in <filename unknown>:0
  at IronPython.Modules.CTypes.dlopen (System.String library, Int32 mode) 
[0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke 
(System.Reflection.MonoMethod*,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0


Best,
Tristan
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to