Originally posted by __J
you need to set PKG_CONFIG_PATH to point to the new library pkg-config files like this (this is assuming you installed them to /usr/local):
the above about ldconfig still applies here.
NOTE: if you have earlier versions of these libraries that came with your base system (not gtk-1.x or glib-1.x but libraries of the same major version like gtk-2.x) still installed these will have to be removed or you will get runtime (and compile time) linker errors. There are ways around this, but if you don't want to manually manipulate all of your paths you need to remove the old libs you are upgrading.
I found the libraries...they are where you thought they would be. I set PATH. I edited ld.so.config. ldconfig doesnt run...not found.
I am running RH workstation.
so that is problem 1...I am still getting this error after ./compile on gtk package
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.7.0... Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.2.3
configure: error: Library requirements (glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.7.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
I can't find an instance of GLib anywhere on my system.