[Mono-dev] MonoDebugger Compile Error

Frederik Carlier frederik.carlier at ugent.be
Sun May 6 12:13:07 EDT 2007


This is a bug. You can see the bug report here:
http://bugzilla.ximian.com/show_bug.cgi?id=77062

A solution is mentioned there: you need to set the LD_LIBRARY_PATH.

<quote>
I am not sure how this is supposed to work. Setting the LD_LIBRARY_PATH 
helped however:

hans at gna:~$ export LD_LIBRARY_PATH=~/mono-1.1.12/lib/
hans at gna:~$ ~/mono-1.1.12/bin/mono ~/mono-1.1.12/lib/mono/1.0/mdb.exe
Mono Debugger
(mdb)
</quote>

I'd like to cast a vote for this bug to get a higher priority (it has 
been filed over a year ago).

Frederik.

Johan Hernandez schreef:
> hi. I'm trying to run MonoDebugger and i got this error:
>
> $ mdb
>
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for
> Mono.Debugger.Frontend.CommandLineInterpreter --->
> System.DllNotFoundException: monodebuggerserver
>   at (wrapper managed-to-native)
> Mono.Debugger.Frontend.CommandLineInterpreter:mono_debugger_server_static_init ()
>   at Mono.Debugger.Frontend.CommandLineInterpreter..cctor () [0x00000]
> --- End of inner exception stack trace ---
>
> I did this:
>
> 1) download the code from svn
>  svn co svn://anonsvn.mono-project.com/source/trunk/debugger
> monodebugger
>
> 2) Compile it:
>  ./autogen.sh && make
>
> 3) Because i get some errors compiling MonoDebugger.Test with references
> to nunit.framework, i modify Makefile.in, removed "-r:nunit.framework"
> and added "-pkg:nunit".
> Then i compile again and it works, my mdb and mdb.exe files are
> compiled.
>
> 4) Install monodebugger(i'm un ubuntu 7.07 and mono 1.2.3.1)
> 	sudo make install
>
> 5) Run mdb:
> 	mdb
>
> Then i get some errors for assemblies dependencies. I have added the
> following assemblies to the gac manually:
>
> sudo gacutil -i Mono.Debugger.Test.dll
> sudo gacutil -i Mono.Debugger.Cecil.dll
> sudo gacutil -i Mono.Debugger.Frontend.dll
> sudo gacutil -i Mono.Debugger.Debugger.dll
>
> and then i got this:
>
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for
> Mono.Debugger.Frontend.CommandLineInterpreter --->
> System.DllNotFoundException: monodebuggerserver
>   at (wrapper managed-to-native)
> Mono.Debugger.Frontend.CommandLineInterpreter:mono_debugger_server_static_init ()
>   at Mono.Debugger.Frontend.CommandLineInterpreter..cctor () [0x00000]
> --- End of inner exception stack trace ---
>
> What should I do?
>
>   




More information about the Mono-devel-list mailing list