glib- configure error

I have installed the  pkgconfig-0.14.0 & glib-2.2.1
& after that iam tryin to configure for the install of atk-1.2.0
                 ( Im using 'linux 2.4.7-10' which was shipped with  RH7.2 ---im using that old kernel coz i've written my total code in that & i have no time to port my LKM's to later plz dont ask me to change to the later kernels. )

but it gives me this error...


Checking for GLIB - version >=
*** Could not run GLIB test program, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the worng
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ to point
*** to the installed location. Also, make sure you have run ldconfig if that
*** is requited on your system
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from


i tried to
$setenv LD_LIBRARY_PATH "/usr/local/"
but it says :
bash : setenv command not found.

i need to install pango & gtk+ after atk lib's... once this works for atk i guess it wud 4 all the other lib's given above. coz all of them give the same configuration error.

am not sure as to how to proceed & wat to do...
im in lot of hurry, plz help.

Who is Participating?
Alf666Connect With a Mentor Commented:
There's a big chance that you have not installed the glib-devel package.

It looks like your package's pre-install script is checking for glib's version. To do that, it needs glib-config, and this is usually in the devel package.
To set an env variable in bash use the command
export LD_LIBRARY_PATH=/usr/local
if its located there

Karl Heinz KremerCommented:
Alf666 is very likely right. Also, be prepared for more of these errors once you've installed glib-devel. You are probably missing more of the devel packages. The good news is that you only have to go through this once, the next time all the packages will already be installed :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.