Re: About installing GTK+
- From: Jeff Trefftzs <trefftzs tcsn net>
- To: gtk-list gnome org
- Subject: Re: About installing GTK+
- Date: 09 Aug 2003 22:31:58 -0700
On Sat, 2003-08-09 at 22:01, Lee R wrote:
> I want to install GTK.
> And it says I need to install glib, atk etc first.
> After I installed glib (using ./configure --> make --> make install),
> and want to install atk (using ./configure --> make), it says:
>
> *** Could not run GLIB test program, checking why...
> *** The test program compiled, but did not run. This usually means
> *** that the run-time linker is not finding GLIB or finding the wrong
> *** 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 required 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 would like to ask how to solve it? What are the required steps?
> The components I install are most up-to-date and I am using RedHat 7.1
> Thank you for answering!!
The message tells you what to do:
1. make sure /etc/ld.so.conf contains a line identifying the directory
where glib was installed (/usr/lib or /usr/local/lib, usually) If you
have to update ld.so.conf, you must be root.
2. as root, run /sbin/ldconfig -v to update the library search path.
What has happened is that you installed glib, but the dynamic loader
doesn't know about it, because its entry points aren't yet in the
cache. That's what the voodoo with ld.so.conf and ldconfig accomplish.
After you've done that, try atk again.
HTH,
--
--Jeff
Jeff Trefftzs <trefftzs tcsn net>
http://www.tcsn.net/trefftzs Home Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/ Photo Gallery
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]