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: techi...@gmail.com
To: mono-devel-list@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 <mono...@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 <techi...@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 <mono...@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 <techi...@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@lists.ximian.com

http://lists.ximian.com/mailman/listinfo/mono-devel-list








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

Reply via email to