GTK+2.2 update ?
- From: Pauly <pauly gmx li>
- To: gtk-list gnome org
- Subject: GTK+2.2 update ?
- Date: Wed, 28 May 2003 10:43:23 +0200
Hi,
I'm using RH8 and the default installed GTK+ 2.0 libs (in /usr/lib).
Now I got a new program that I want to run and to compile.
It needs the GTK+ 2.2 lib. No problem so far, I thought.
I compiled and installed the new GTK+2.2 libs to /opt/gtk
Now I tried different things:
- Put the path /opt/gtk to ld.so.conf, run ldconfig, but the new
libs aren't available.
The problem might be, that the softlinks to the libs, which ldconfig
creates, have both the same name, say /usr/lib/gtk-x11-2.0.so.0
which points to /usr/lib/gtk-x11-2.0.so.0.0.6 and
/opt/gtk/lib/gtk-x11-2.0.so.0 which points to
/opt/gtk/lib/gtk-x11-2.0.so.0.200.1
Guess the system is using the /usr/lib path first.
- Next I tried to copy the new 2.2 libs to /usr/lib, and run ldconfig.
ldconfig creates the softlinks - but now the softlinks point to the
new gtk 2.2 libs, the 2.0 libs are unused.
The problem is, that gnome (and other programs) seems to need and
use the old 2.0 gtk libs - therefore I can't replace them!
- I don't wanna use LD_LIBRARY_PATH, due to the known reasons.
And even as I set LD_LIBRARY_PATH in /etc/profile, gnome isn't starting
correctly, cause it can't find the old gtk 2.0 libs then.
Now, has anybody the same problem, is there a clean procedure to update and
install the gtk 2.2 libs? Is it possible to have both libs coexisting in
/usr/lib?
Thanx,
Pauly
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]