[Mono-dev] Mono Posix helper exception

Rafael Teixeira monoman at gmail.com
Tue Nov 25 09:49:30 UTC 2014


Turn Mono's tracing on to see where it is trying to find the lib. Also are
you sure the library matches the architecture? ARM/Intel, 32/64 bits, etc.

On Tue, Nov 25, 2014, 07:29 techi eth <techieth at gmail.com> wrote:

> I do have the same under /usr/lib.Please find below ls output.
>
> #ls -la | grep Mono
> -rw-r--r--    1 root     root        797994 Nov 25 08:54
> libMonoPosixHelper.a
> -rwxr-xr-x    1 root     root          1049 Nov 25 08:54
> libMonoPosixHelper.la
> -rwxr-xr-x    1 root     root        514621 Nov 25 08:54
> libMonoPosixHelper.so
>
>
> On Tue, Nov 25, 2014 at 2:50 PM, Rafael Teixeira <monoman at gmail.com>
> wrote:
>
>> You didn't install the native libmonoposixhelper.so library needed to use
>> that functionality :(
>>
>> On Tue, Nov 25, 2014, 07:13 techi eth <techieth at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have found one exception when running test to access serial port on
>>> Linux .Can anyone suggest what is missing.I have copied test O/P below.
>>>
>>> Note : I am having libMonoPosixHelper.so under library path.
>>> --------------------------------------------------
>>> #mono --config config serial.exe
>>> Enter port name
>>> /dev/ttyS0
>>> libMonoPosixHelper.so
>>> press 's' for start
>>> s
>>> process failed
>>>
>>>
>>> Unhandled Exception:
>>> System.DllNotFoundException: libMonoPosixHelper.so
>>>   at (wrapper managed-to-native)
>>> System.IO.Ports.SerialPortStream:close_serial (int)
>>>   at System.IO.Ports.SerialPortStream.Dispose (Boolean disposing)
>>> [0x00000] in <filename unknown>:0
>>>   at System.IO.Ports.SerialPortStream.Finalize () [0x00000] in <filename
>>> unknown>:0
>>> --------------------------------------------------
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141125/674ed343/attachment.html>


More information about the Mono-devel-list mailing list