[MonoDevelop] Building Monodevelop on OpenSolaris

Zachary Richmond dev.ihsdoor at gmail.com
Sat Oct 18 00:12:02 EDT 2008

Zachary Richmond wrote:
> System.DllNotFoundException: gtksharpglue-2
> ...
> setting the log level helps, but the interesting thing is that 
> libgtksharpglue-2.so is in /opt/mono/lib so for now eventhough it seems 
> so close I can't get it to work.

Okay, while still running pfexec monodevelop until I get the permissions 
problem worked out, this is where I am at:

After guessing, based on the locations of libgtk-x11-2.0.so.0 which 
loads successfully right before gtksharpglue-2 fails to load,  I added 
the following links:

/usr/lib/64/libgtksharpglue-2 -> /opt/mono/lib/libgtksharpglue-2.so


/usr/lib/libgtksharpglue-2 -> /opt/mono/lib/libgtksharpglue-2.so

I then get:

(MonoDevelop:17249): Mono-WARNING **: DllImport unable to load library 
'ld.so.1: mono: fatal: /usr/lib/64/libgtksharpglue-2: wrong ELF class: 

When I delete the amd64 one:

(MonoDevelop:17314): Mono-WARNING **: DllImport unable to load library 
'ld.so.1: mono: fatal: libgtksharpglue-2: open failed: No such file or 

I am building this on an amd64 machine, so maybe that is causing part of 
the problem, but mono -V does show amd64.

At this point I am at a loss if I have built/installed mono and the 
rest, as amd64 why would libgtksharpglue-2.so be 32-bit? Any clue in the 
right direction would be great.

Thanks, Zak

More information about the Monodevelop-list mailing list