Your rpm-version is installed in /usr/lib. Your source version in
/usr/local/lib. /usr/lib is checked to find the library (via a program
called gtk-config). To solve this try to add reinstall by using:
./configure --prefix=/usr ; make ; make install
This will get the library installed in /usr/lib instead of
/usr/local/lib
Jeroen
Chris Carbaugh wrote:
>
> Hello all.
>
> I'm trying to upgrade my RedHat 6.0 box to GTK+ 1.2.6.
>
> To start with, the box has the default libraries installed:
>
> glib 1.2.3
> gtk+ 1.2.3
>
> The reason I need to upgrade is to install Mahogany
> (http://www.wxwindows.org/Mahogany/)
>
> I have the source for both glib and gtk 1.2.6. I compiled and installed
> (./configure; make; make install) glib OK. But when I try to compile
> GTK+ I get an error:
>
> *** An old version of GLIB (1.2.3) was found.
> *** You need a version of GLIB newer than 1.2.4. The latest version of
> *** GLIB is always available from ftp://ftp.gtk.org.
> ***
> *** If you have already installed a sufficiently new version, this error
> *** probably means that the wrong copy of the glib-config shell script
> is
> *** being found. The easiest way to fix this is to remove the old
> version
> *** of GLIB, but you can also set the GLIB_CONFIG environment to point
> to the
> *** correct copy of glib-config. (In this case, you will have to
> *** modify your LD_LIBRARY_PATH enviroment variable, or edit
> /etc/ld.so.conf
> *** so that the correct libraries are found at run-time))
>
> This does make since, but brings up some questions:
>
> Can I (via gnorpm) remove the 1.2.3 version of glib and gtk after the
> 1.2.6 versions are installed?
>
> How do I tell existing programs to use the new 1.2.6 versions?
> Do I need to restart X (gnome/enlightenment)?
>
> Should I just point the GLIB_CONFIG environment to the 1.2.6 version?
> If I do, where is the 1.2.6 lib?
> Do I just create/export the variable in my .bash_profile script?
>
> This would create two versions of the same lib on my machine,won't that
> cause problems?
>
> gnorpm seems like a great way to manage the software on my machine, but
> how long to I have to wait for newer versions of libraries to be
> available as RPM? It seems if glib/gtk 1.2.6 was available as an RPM,
> this process would be much easier.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Chris
>
> --
> To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null