Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
User Journal

Journal planckscale's Journal: gtk and glib install madness

in regards to "glib could not be found" when installing GTK, pango, and glib,

To: gtk-list@redhat.com Subject: [gtk-list] Re: Problems installing GLIB and GTK

Chances are you've installed glib and set your PATH correctly, but your LD_LIBRARY_PATH is still wrong. If this variable is set you should do something like

LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH otherwise try (this works for me):

LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/usr/X11R6/lib

export LD_LIBRARY_PATH

You want to place the /usr/local/lib (or whereever your glib/gtk libraries are) *before* the rest of the LD_LIBRARY_PATH so that the newly installed libraries are detected first ... This usually solves this stuff for me

All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin

Working...