This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
From: "Phillips, Glenn" <Glenn.Phillips@airnz.co.nz> Subject: RE: Help me out, please...gtk+-1.2.0 problsm Date: Thu, 11 Mar 1999 10:22:28 +1300 On Thursday, March 11, 1999 5:42 AM, Patrick O'Neil [SMTP:patrick@hci.utah.edu] wrote: > Surely someone knows what is going on with this problem? > I have posted a couple of times in hope of finding an > answer but so far there hasn't been a hint of an answer/ > solution/clarification. > > Someone PLEASE help me out here... > > I have successfully compiled and installed both glib-1.2.0 > and gtk+-1.2.0 yet I cannot run any gtk+-1.2.0-dependent > apps. If I try to run the gnome-1.0 panel or ee or any > other gtk+-1.2x app, I get the same error message every time: > > ee: error in loading shared libraries > /usr/local/lib/libgdk-1.2.so.0: undefined symbol: XListInputDevices > > It is ALWAYS a problem with XListInputDevices. What is going > on here? Why would I get a successful compile of both glib > and gtk yet then run into this problem? More importantly, > how do I fix it? I would like to work with my own compiled > version of both libs, if at all possible. It's likely to be that the gtk-1.2 libs are in /usr/local/lib which is not (by default) searched by the library loading program. edit (as root) /etc/ld.so.conf and add the line /usr/local/lib then run ldconfig to make the change active. I'm guessing your problem will go away. You know, it would have been easier just to grab the gtk-1.2 rpm! === From: Brian Anderson <bunicula@mediaone.net> Subject: Re: Problems with Gnome Install On Mon, 8 Mar 1999, Marc Joseph wrote: > I am running RH 5.2 upgraded to kernel 2.2.1. When I try to install > Gnome 1.0 I get a long list of failed dependencies. I have preinstalled > xscreensaver, umb-scheme and guile. > > Any ideas? yup. it's breaking dependencies with existing gnome based apps. you need to grab the gtk+10.xxx.rpm and glib-10.xxxx.rpm files off of the gnome ftp site. they have the runtime libs so that you don't break things by updating to gtk+/glib 1.2. now if only gimp 1.2 would come out === Subject: Re: GNOME From: Eric Wood <eric@interplas.com> Date: Thu, 11 Mar 1999 16:56:26 -0500 I just bought Eric Harlow's "Developing Linux Applications with GTK+ and GDK". I hope to help GNOME catch up. :P -Eric Wood === Subject: Re: All the gtk's From: Brian Anderson <bunicula@mediaone.net> Date: Tue, 16 Mar 1999 07:43:16 -0500 (EST) On Mon, 15 Mar 1999, Bruce Richardson wrote: > Just installed GNOME 1.0, so I have gtk+ versions 1.0.1, 1.2.0 and > gtk+10-1.0.6 all in there. Now _that's_ what I call a kludge. This makes > me a little uneasy. Anyone know why all this is necessary? It's not. gtk+ 1.2.0 should replace gtk+ 1.0.1. Then gtk+10-1.0.6 are compatibility libs. That way apps compiled against gtk+ 1.0.x won't be broken (gtk+ 1.2.x is not compatible with the older versions. ======= SUBJECT: Re: All the gtk's FROM: brichardson@lineone.net Date: Tue, 16 Mar 1999 15:07:03 GMT Brian Anderson >gtk+ 1.2.0 should replace gtk+ 1.0.1. Then gtk+10-1.0.6 are compatibility >libs. That way apps compiled against gtk+ 1.0.x won't be broken (gtk+ >1.2.x is not compatible with the older versions. Thanks. The GNOME installation instructions are misleading, IMO, at this point. ====== Subject: Re: rpm faild deps and /sbin/ldconfig ?? From: "John N. Alegre" <listhub@libros.andante.mn.org> Date: Sun, 21 Mar 1999 15:06:04 -0600 (CST) On 21-Mar-99 Donnie Barnes wrote: >>i am trying to do an install of gnome-games. Amoung other failed deps I see: >> >>[root@zaragoza gnome-1.0]# rpm -ivh --test >>/mnt/cdrom/gnome/RPMS/i386/gnome-games-0.30-3.i386.rpm >>failed dependencies: >> libgdk-1.1.so.2 is needed by gnome-games-0.30-3 >> >>Doing a locate on libgdk i find in /usr/lib >> >>lrwxrwxrwx 1 root root 19 Mar 14 19:14 libgdk-1.2.so.0 -> >>libgdk-1.2.so.0.0.0 >>-rwxr-xr-x 1 root root 235129 Mar 6 15:58 libgdk-1.2.so.0.0.0 >> >>assuming that libgdk-1.2.so will handle the work of libgdk-1.1.so, I make a >>link: >> >>lrwxrwxrwx 1 root root 19 Mar 19 21:24 libgdk-1.1.so.2 -> >>libgdk-1.2.so.0.0.0 >>lrwxrwxrwx 1 root root 19 Mar 14 19:14 libgdk-1.2.so.0 -> >>libgdk-1.2.so.0.0.0 >>-rwxr-xr-x 1 root root 235129 Mar 6 15:58 libgdk-1.2.so.0.0.0 >> >>and then run /sbin/ldconfig >> >>but I still get the same failed dependencies. What am I missing? > > RPM doesn't check for *files*, it checks for things in the RPM database. > If you think your link will work, just do the install using the --nodeps > flag. Or take the easy way out and upgrade gtk. I know about nodeps and dont like to do that. This brings me to the question of how would I know to upgrade the gtk? When I see a failed dep in a library how do I know which rpm that library is contained in? If I try: libros% rpm -q /usr/lib/libgdk-1.2.so.0.0.0 package /usr/lib/libgdk-1.2.so.0.0.0 is not installed The route you suggest is what I am trying to do! i.e. a rpm upgrade of the packages that are dependend on. Finding out which rpm packages a given library is in is what is eluding me. Can you help here?