• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

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 versions.so plz dont ask me to change to the later kernels. )

but it gives me this error...

~~~~~~~~~~~~~~

Checking for GLIB - version >= 2.0.0...no
*** 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/ld.so.conf 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
configure:error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.

...........

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.

thx
suman.
0
suman18
Asked:
suman18
1 Solution
 
da99rmdCommented:
To set an env variable in bash use the command
export LD_LIBRARY_PATH=/usr/local
if its located there

/Rob
0
 
Alf666Commented:
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.
0
 
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 :-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now