[Mono-list] Problems using gtk-sharp from cvs
Wed, 2 Jun 2004 09:04:34 +1000
I noticed that my LD_LIBRARY_PATH was completely empty.
I've never had to set this before, so I was unsure what it needed to be.
I'll give this a try tonight.
From: Jonathan Pryor [mailto:email@example.com]=20
Sent: Tuesday, 1 June 2004 8:10 PM
To: John BouAntoun
Subject: Re: [Mono-list] Problems using gtk-sharp from cvs
On Tue, 2004-06-01 at 00:55, John BouAntoun wrote:
> 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
> /usr/local/lib/libglibsharpglue.a /usr/local/lib/libglibsharpglue.la
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
ldconfig(8). That way /usr/local/lib will be permanently added to the
dynamic linker search path.