[Mono-list] Problems using gtk-sharp from cvs

John BouAntoun jbouantoun@rogen.com.au
Wed, 2 Jun 2004 09:25:03 +1000


I have everything installed to the same prefix, /usr/local


-----Original Message-----
From: Francisco Figueiredo Jr. [mailto:fxjrlists@yahoo.com.br]=20
Sent: Wednesday, 2 June 2004 3:49 AM
To: Jonathan Pryor
Cc: John BouAntoun; mono-list@lists.ximian.com
Subject: Re: [Mono-list] Problems using gtk-sharp from cvs

Jonathan Pryor wrote:
> Below...
> On Tue, 2004-06-01 at 00:55, John BouAntoun wrote:
> <snip/>
>>The following is what i get when I run the treeviewdemo in the=20
>>gtk-sharp/demos folder.
>>[john@nkotb sample]$ mono treeviewdemo.exe
>>Unhandled Exception: System.DllNotFoundException: glibsharpglue in=20
>><0x00053> (wrapper managed-to-native) GLib.Object:gtksharp_object_newv

>>in <0x00060> GLib.Object:CreateNativeObject (string[],GLib.Value[])
>>in <0x00131> Gtk.TreeStore:.ctor (System.Type[])
>>in <0x00088> GtkSamples.TreeViewDemo:PopulateStore ()
>>in <0x0002c> GtkSamples.TreeViewDemo:.ctor ()
>>in <0x0001b> GtkSamples.TreeViewDemo:Main (string[])
>>Everthing executed make and sudo make install with no apparent erros,
>>but I can't seem to run a gtk-sharp app at all.
>>The file it claims that it can't see is located here: [john@nkotb=20
>>john]$ locate glibsharpglue=20
> Is /usr/local/lib in your LD_LIBRARY_PATH environment variable? :-)
> You might want to add /usr/local/lib to /etc/ld.so.conf, then run=20
> ldconfig(8).  That way /usr/local/lib will be permanently added to the

> dynamic linker search path.
>  - Jon

I had this problem too when trying to run Monodevelop, but not monodoc.

I solved the Monodevelop problem by installing it in the same prefix as=20
I installed mono, mcs and gtk-sharp.

I hope it helps.


Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder
Member http://monobrasil.softwarelivre.org

"Science without religion is lame;
religion without science is blind."

                   ~ Albert Einstein