[Mono-osx] Probs to get Gecko-Sharp samples working on OSX

Daniel Schmidt demo.code at gmail.com
Thu Aug 11 13:30:18 EDT 2005


Hi,

I've got a System.DllNotFoundException when I'm trying to start the  
Samples for Gecko sharp.

The Console output is:

Unhandled Exception: System.DllNotFoundException: gtkembedmoz
in (wrapper managed-to-native)  
Gecko.WebControl:gtk_moz_embed_set_profile_path (string,string)
in <0x00034> Gecko.WebControl:.ctor (System.String aPath,  
System.String aDir)
in <0x004f4> GtkSamples.MozWindow:CreateWindow (UInt32 chrome)
in <0x00060> GtkSamples.MozWindow:.ctor (System.String p1,  
System.String p2)
in <0x00040> GtkSamples.MozApp:Main (System.String[] args)

I got Mono, gtk-shmarp and gecko-sharp from DarwinPorts. Then I added  
this line to my mono config:

   <dllmap dll="libgtkembedmoz" target="/opt/local/lib/mozilla-1.8b/ 
libgtkembedmoz.dylib" />

Also, I added the Mozilla Location to my DYLD_LIBRARY_PATH.

But, finally - it's the same problem.

Any suggestions ?

Thanx in advice,

Daniel


More information about the Mono-osx mailing list