Re: [gtk-list] Re: GTK+ 1.2.2 won't compile w/ Glib 1.2.2
- From: Robert_Gasch/PeopleSoft peoplesoft com
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: GTK+ 1.2.2 won't compile w/ Glib 1.2.2
- Date: Sat, 24 Apr 1999 17:52:40 +0200
In my previous suggestion the line
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
should read
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
to make sure that you look in /usr/local first ...
--> R
"Robert_Gasch/PeopleSoft"@peoplesoft.com on 04/24/99 05:43:55 PM
Please respond to gtk-list@redhat.com
To: gtk-list@redhat.com
cc: (bcc: Robert Gasch/PeopleSoft)
Subject: [gtk-list] Re: GTK+ 1.2.2 won't compile w/ Glib 1.2.2
Is it possible that you have another copy of glib installed
somewhere else which happens to be 1.2.1? This might be
the case if your path includes /usr/local/bin where you
installed the gtk-config for 1.2.2 but your environment
variable LD_LIBRARY_PATH (which specifies where to find
libraries) doesn't include /usr/local/lib and thus defaults
to the standard system directories where another copy
might be pre-installed. What you want to do is this:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
or
LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/usr/X11R6/lib
which is what I do on my system
export LD_LIBRARY_PATH
This will add /usr/local/lib to your library search path and at
least make sure that you're linking with the correct libraries ...
Hope this helps
-->R
"Fred Dunn" <fdunn@ix.netcom.com> on 04/24/99 05:19:01 PM
Please respond to gtk-list@redhat.com
To: gtk-list@redhat.com
cc: (bcc: Robert Gasch/PeopleSoft)
Subject: [gtk-list] GTK+ 1.2.2 won't compile w/ Glib 1.2.2
OK, first admission - I'm a newbie who's been a Windows developer for years.
The Zen of Linux - paths, . files, etc - is still quite new to me.
Now for the problem. I'm attempting to install glib/gtk+ 1.2.2. I can
compile glib fine but when I go to compile gtk+ when I run ./configure I get
the following:
.. OK to here ..
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.2...
*** 'glib-config --version' returned 1.2.2, but GLIB (1.2.1)
*** was found! If glib-config was correct, then it is best
*** to remove the old version of GLIB. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file
config.cache
*** before re-running configure
It seemed to find the right version but the wrong file. What gives?
I also tried:
./configure --with-glib=/usr/local/lib/glib-1.2.2
This is where the file libglib-1.2.so.0.0.2 is located (with the correct
time stamp from the compile).
Help is greatly appreciated!
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]