[Mono-dev] Mono Posix helper exception

Alexander Köplinger alex.koeplinger at outlook.com
Tue Nov 25 10:45:19 UTC 2014


Turn on tracing (http://www.mono-project.com/docs/advanced/runtime/logging-runtime-events/) and see why it fails to load the library.
 
-- Alex 
 
Date: Tue, 25 Nov 2014 09:58:40 +0000
From: techieth at gmail.com
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Mono Posix helper exception

Please find below file command o/p.
#file libMonoPosixHelper.so
libMonoPosixHelper.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped

I have built mono using --disable-mcs-build --enable-minimal=aot,profiler --enable-small-config configure option.
Is this will create issue ?

On Tue, Nov 25, 2014 at 9:49 AM, Rafael Teixeira <monoman at gmail.com> wrote:
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.exeEnter port name/dev/ttyS0libMonoPosixHelper.sopress 's' for startsprocess 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








_______________________________________________
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/ed9fda63/attachment-0001.html>


More information about the Mono-devel-list mailing list