[Mono-devel-list] mono 1.1.8.2 problems with mdb

Wade Berrier wberrier at novell.com
Thu Jul 7 14:21:56 EDT 2005


Hi Mike,

It almost sounds like the default mono that came with suse 9.3 is being
used to run mdb without setting up the environment vars to find the libs
included with the installer.

The installer puts some settings in $HOME/.bashrc that need to be
loaded.  You can do this by starting a new shell or:

 ~/.bashrc

This will set up your path correctly.  Hopefully that helps.  Also, make
sure your ~/.bashrc file contains something similar:

export PATH=$PATH:/opt/mono-1.1.8.2/bin
export
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/mono-1.1.8.2/lib/pkgconfig"


Wade

On Thu, 2005-07-07 at 16:24 +0100, mike horsley wrote:
> hi
> 
> i downloaded the new linux installer for 1.1.8.2, installed it. i did
> have to set $PATH because the new installed so maybe this is indicative
> of another problem at my end.
> 
> I compiled my test app "Main.cs" using -debug
> 
> I then tried running mdb and got the following error:
> 
> mike at vqlinux:~/monotest1> mcs -debug Main.cs
> mike at vqlinux:~/monotest1> mdb Main.exe
> 
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for
> Mono.Debugger.Frontend.GnuReadLine ---> System.DllNotFoundException:
> libmonodebuggerreadline
> in (wrapper managed-to-native)
> Mono.Debugger.Frontend.GnuReadLine:mono_debugger_readline_static_init ()
> in <0x00007> Mono.Debugger.Frontend.GnuReadLine:.cctor ()--- End of
> inner exception stack trace ---
> 
> in <0x00000> <unknown method>
> in <0x00043> Mono.Debugger.Frontend.CommandLineInterpreter:Main
> (System.String[] args)
> mike at vqlinux:~/monotest1> mdb
> 
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for
> Mono.Debugger.Frontend.GnuReadLine ---> System.DllNotFoundException:
> libmonodebuggerreadline
> in (wrapper managed-to-native)
> Mono.Debugger.Frontend.GnuReadLine:mono_debugger_readline_static_init ()
> in <0x00007> Mono.Debugger.Frontend.GnuReadLine:.cctor ()--- End of
> inner exception stack trace ---
> 
> in <0x00000> <unknown method>
> in <0x00043> Mono.Debugger.Frontend.CommandLineInterpreter:Main
> (System.String[] args)
> mike at vqlinux:~/monotest1>
> 
> As you can see, i get the same problem if i just launch mdb.
> 
> I'm using SUSE 9.3 Pro with the GNOME desktop.
> 
> Any ideas?
> 
> regards
> Mike
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list