[Gtk-sharp-list] my trouble
PJ Cabrera
pjcabrera@pobox.com
27 Jan 2003 00:04:21 -0400
On Wed, 2003-01-15 at 15:10, ENEA Gabriel wrote:
>
> Hi,
>
> When I try to run the examples from gtk-sharp/sample
> I got the folowing error:
> [root@everest sample]# mono gnome-hello-world.exe
>
> ** (gnome-hello-world.exe:28732): WARNING **: Failed to load library
> libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: cannot open shared
> object file: No such file or directory
Hi Gabriel,
You need to add the location of the Gtk# libraries to your
LD_LIBRARY_PATH environment variable. As an example, let's suppose you
installed Gtk# at /opt/lib/gtk-sharp. Then you would type the following
at the command-line before running your tests:
$ export LD_LIBRARY_PATH=/opt/lib/gtk-sharp:$LD_LIBRARY_PATH
That should take care of the library loading problems.
--
PJ Cabrera
pjcabrera at pobox dot com