[MonoDevelop] Trouble starting MonoDevelop

Richard W Williams dickwilliams@covad.net
Fri, 01 Oct 2004 14:56:00 -0400


On Mon, 2004-09-20 at 15:29, Fawad Halim wrote:
> It might be just that /usr/local/lib isn't being searched. try to add 
> /usr/local/lib into /etc/ld.so.conf and run ldconfig. It should get 
> picked up. Also, make sure that the .so copy is readable by the account 
> you're running MD under.
> 
> -fawad


*****************************************
I followed your advice, and got a bit further along.  I now get the
splash screen, but then MD dies with the following output:


> [dickw@rwwamd64 dickw]$ monodevelop
> Creating DefaultWorkbench
>  
> (MonoDevelop:3721): GLib-GObject-CRITICAL **: file gobject.c: line 1579 (g_object_unref): assertion `G_IS_OBJECT (object)' failed
> Loading error, please reinstall :
> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
> in <0xfe9742a7> (wrapper managed-to-native) GLib.Object:g_object_new (intptr,intptr)
> in <0x0000f> (wrapper managed-to-native) GLib.Object:g_object_new (intptr,intptr)
> in <0x00059> GLib.Object:.ctor (GLib.GType)
> in <0x00026> Gtk.Object:.ctor (GLib.GType)
> in <0x00026> Gtk.Widget:.ctor (GLib.GType)
> in <0x00026> Gtk.Container:.ctor (GLib.GType)
> in <0x00026> Gtk.TreeView:.ctor (GLib.GType)
> in <0x00085> MonoDevelop.Gui.Pads.FileList:.ctor ()
> in <0x00045> MonoDevelop.Gui.Pads.FileScout:.ctor ()
> in <0x67dace7e> (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
> in <0x0000f> (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
> in <0x00120> System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
> --- End of inner exception stack trace ---
>  
> in <0x001ec> System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
> in <0x00049> System.Reflection.MonoCMethod:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
> in <0x0005f> System.Reflection.ConstructorInfo:Invoke (object[])
> in <0x001e1> System.Activator:CreateInstance (System.Type,bool)
> in <0x00021> System.Activator:CreateInstance (System.Type)
> in <0x00063> System.Reflection.Assembly:CreateInstance (string,bool)
> in <0x00030> System.Reflection.Assembly:CreateInstance (string)
> in <0x00131> MonoDevelop.Core.AddIns.AddIn:CreateObject (string)
> in <0x00067> MonoDevelop.Core.AddIns.Codons.ClassCodon:BuildItem (object,System.Collections.ArrayList,MonoDevelop.Core.AddIns.Conditions.ConditionCollection)
> in <0x001e1> MonoDevelop.Core.AddIns.DefaultAddInTreeNode:BuildChildItems (object)
> in <0x00074> MonoDevelop.Gui.DefaultWorkbench:UpdateViews (object,System.EventArgs)
> in <0x00080> MonoDevelop.Commands.InitializeWorkbenchCommand:Run ()
> in <0x00d12> MonoDevelop.SharpDevelopMain:Main (string[])
>  
****************************
> 
> Richard W Williams wrote:
> 
> > I am a new Linux user with the following configuration:
> > 
> > Fedora Core 2 (2.6.8-1.521)
> > Athlon 64 - 1.5GB memory
> > 
> > I have recently installed Mono from the latest CVS source and I can
> > successfully compile and run simple C# programs.  I also installed
> > MonoDevelop and friends, having used the SVN tutorial to acquire the
> > source.  However, when I try to start MonoDevelop, I get the following
> > error:
> > 
> > 
> > 
> >>[dickw@rwwamd64 dickw]$ monodevelop
> >> 
> >>Unhandled Exception: System.DllNotFoundException: gnomesharpglue
> >>in <0x000cf> (wrapper managed-to-native) Gnome.Program:gtksharp_gnome_program_init (string,string,Gnome.ModuleInfo&,int,string[],int,Gnome.Program/PropertyArg[])
> >>in <0x00437> Gnome.Program:.ctor (string,string,Gnome.ModuleInfo,string[],object[])
> >>in <0x005dc> MonoDevelop.SharpDevelopMain:Main (string[])
> >> 
> >>[dickw@rwwamd64 dickw]$
> > 
> > 
> > A search for 'gnomesharpglue' reveals the following:
> > 
> >   libgnomesharpglue.so in /usr/local/lib
> >   libgnomesharpglue.a  in /usr/local/lib
> >   libgnomesharpglue.la in /usr/local/lib
> > 
> > Any help will be greatly appreciated.
> > 
> > Dick
> > 
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>