Posts Tagged ‘Gecko’

Using Gecko.WebControl on Mono

Wednesday, March 19th, 2008

I’ve tried to use gecko.WebControl on Mono under Ubuntu Linux and I kept on getting:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl ---> System.DllNotFoundException: /usr/lib/firefox/
  at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type ()
  at Gecko.WebControl.get_GType () [0x00000]
  at GtkSharp.GeckoSharp.ObjectManager.Initialize () [0x00000]
  at Gecko.WebControl..cctor () [0x00000] --- End of inner exception stack trace ---
  at <0x00000> 
  at SecondMessenger.gtk.MainWnd.initAdvertising () [0×00000]
  at SecondMessenger.gtk.MainWnd..ctor (SecondMessenger.SMClient client) [0×00000]
  at SecondMessenger.gtk.GTKClient.initUI () [0×00000]
  at SecondMessenger.SMClientManager.NewClient (System.String clientType) [0×00000]
  at SecondMessenger.SMClientManager..ctor (System.String clientType, System.Collections.Generic.List`1 accounts, System.Stringc) [0×00000]
  at SecondMessenger.Program.Esegui (System.String[] args) [0×00000]
  at SecondMessenger.Program.Main (System.String[] args) [0×00000]

That’s why even if the /usr/lib/firefox/ library is there is not visible to the LD_PATH.

Roberto Rocco Angeloni is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

Fatal error: Cannot access protected property ObjectMgr::$_verbose in /web/htdocs/ on line 22