Link to home
Start Free TrialLog in
Avatar of suman18
suman18

asked on

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.
Avatar of da99rmd
da99rmd

To set an env variable in bash use the command
export LD_LIBRARY_PATH=/usr/local
if its located there

/Rob
ASKER CERTIFIED SOLUTION
Avatar of Alf666
Alf666

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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 :-)