DllNotFound??

View: New views
3 Messages — Rating Filter:   Alert me  

DllNotFound??

by castord :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello list,

I am having an estrange problem with my mono2.4 installation on a CentOS 5.3 kernel 2.6.18-128.1.6.el5PAE.

The installation finishes with no errors and the runtime environment is apparently ok but when I tried to run my application (compiled in another machine with the same mono version) a Dll-not-found  exception was thrown with the following trace:

Unhandled Exception: System.DllNotFoundException: libMonoPosixHelper.so
  at (wrapper managed-to-native) Mono.Unix.Native.NativeConvert:FromSignum (Mono.Unix.Native.Signum,int&)
  at Mono.Unix.Native.NativeConvert.FromSignum (Signum value) [0x00000]
  at Mono.Unix.UnixSignal..ctor (Signum signum) [0x00000]
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixSignal:.ctor (Mono.Unix.Native.Signum)
  at CEInvoker.MainClass.WaitSignal () [0x00000]


but libMonoPosixHelper.so exists.

# ll /usr/local/lib/libMonoPosixHelper.so
-rwxr-xr-x 1 root root 293548 Jun  8 20:18 /usr/local/lib/libMonoPosixHelper.so

What should I do.

Regards.

Carlos.


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

Re: DllNotFound??

by castord :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I reinstalled from the sources but this time I added --prefix=/usr/ to the configure script and doing this it finally works. I don't know if this is a bug or a problem with the OS but I hope it helps to someone.


On Mon, Jun 8, 2009 at 8:53 PM, Carlos Ruiz Diaz <carlos.ruizdiaz@...> wrote:
Hello list,

I am having an estrange problem with my mono2.4 installation on a CentOS 5.3 kernel 2.6.18-128.1.6.el5PAE.

The installation finishes with no errors and the runtime environment is apparently ok but when I tried to run my application (compiled in another machine with the same mono version) a Dll-not-found  exception was thrown with the following trace:

Unhandled Exception: System.DllNotFoundException: libMonoPosixHelper.so
  at (wrapper managed-to-native) Mono.Unix.Native.NativeConvert:FromSignum (Mono.Unix.Native.Signum,int&)
  at Mono.Unix.Native.NativeConvert.FromSignum (Signum value) [0x00000]
  at Mono.Unix.UnixSignal..ctor (Signum signum) [0x00000]
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixSignal:.ctor (Mono.Unix.Native.Signum)
  at CEInvoker.MainClass.WaitSignal () [0x00000]


but libMonoPosixHelper.so exists.

# ll /usr/local/lib/libMonoPosixHelper.so
-rwxr-xr-x 1 root root 293548 Jun  8 20:18 /usr/local/lib/libMonoPosixHelper.so

What should I do.

Regards.

Carlos.



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

Re: DllNotFound??

by funwun :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I got same error message. do you fix this?
castord wrote:
Hello list,

I am having an estrange problem with my mono2.4 installation on a CentOS 5.3
kernel 2.6.18-128.1.6.el5PAE.

The installation finishes with no errors and the runtime environment is
apparently ok but when I tried to run my application (compiled in another
machine with the same mono version) a Dll-not-found  exception was thrown
with the following trace:

Unhandled Exception: System.DllNotFoundException: libMonoPosixHelper.so
  at (wrapper managed-to-native) Mono.Unix.Native.NativeConvert:FromSignum
(Mono.Unix.Native.Signum,int&)
  at Mono.Unix.Native.NativeConvert.FromSignum (Signum value) [0x00000]
  at Mono.Unix.UnixSignal..ctor (Signum signum) [0x00000]
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixSignal:.ctor
(Mono.Unix.Native.Signum)
  at CEInvoker.MainClass.WaitSignal () [0x00000]


but libMonoPosixHelper.so exists.

# ll /usr/local/lib/libMonoPosixHelper.so
-rwxr-xr-x 1 root root 293548 Jun  8 20:18
/usr/local/lib/libMonoPosixHelper.so

What should I do.

Regards.

Carlos.

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