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.
Linux OS Dev

Avatar of undefined
Last Comment
Karl Heinz Kremer

8/22/2022 - Mon
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
Alf666

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Karl Heinz Kremer

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 :-)
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck