From: ikluft@thunder.sbay.org (Ian Kluft)
Subject: Re: [svlug] Red Hat problem
To: k5di@zianet.com (Karl F. Larsen)
Date: Mon, 25 Feb 2002 10:01:52 -0800 (PST)
Cc: svlug@svlug.org
X-Mailer: ELM [version 2.5 PL2]

>From: "Karl F. Larsen" k5di@zianet.com
> I want to load XEmacs after I have loaded version 7.2 and I have a
>dependancy problem that is odd. When I try to load the rpm I get:
>
> [root@Daisy RPMS]# rpm -i xemacs-21.1.14-21.i386.rpm
>error: failed dependencies:
> libcanna.so.1.0 is needed by xemacs-21.1.14-21
> libRKC.so.1.0 is needed by xemacs-21.1.14-21
> libwnn6.so.1.0 is needed by xemacs-21.1.14-21
>
>Problem is I can't find any of these libs on either cd-rom. I expect they
>are there somewhere, but to be honest libs are getting to as bad a .DLL in
>windoz!!
>
> Has anyone solved this problem?

Well, if you ask me, that simply means you can't use Emacs. :-)

But seriously, Dave Zarzycki pointed out to me in a conversation last
year this feature of RPM on RH 7.2 which also solves your problem. It
was there before 7.2 but I don't know when it showed up. It allows you
to query RPMs which Red Hat has on the CDs but you didn't install on
your system. Usually RPM queries only show what you installed.

$ rpm -q --redhatprovides libcanna.so.1.0
Canna-libs-3.5b2-50
$ rpm -q --redhatprovides libRKC.so.1.0
Canna-libs-3.5b2-50
$ rpm -q --redhatprovides libwnn6.so.1.0
Wnn6-SDK-1.0-14

So your dependencies can be resolved with the Canna-libs-3.5b2-50 and
Wnn6-SDK-1.0-14 packages.

In order for this query to work, you must have installed the rpmdb-redhat
package.


Subject: Re: [svlug] Red Hat problem
From: Breen Mullins bmullins@pacbell.net
To: Ian Kluft ikluft@thunder.sbay.org
Cc: "Karl F. Larsen" k5di@zianet.com, svlug@svlug.org
X-Mailer: Evolution/1.0.2
Date: 25 Feb 2002 10:29:06 -0800

On Mon, 2002-02-25 at 10:01, Ian Kluft wrote:

> But seriously, Dave Zarzycki pointed out to me in a conversation last
> year this feature of RPM on RH 7.2 which also solves your problem. It
> was there before 7.2 but I don't know when it showed up. It allows you
> to query RPMs which Red Hat has on the CDs but you didn't install on
> your system. Usually RPM queries only show what you installed.
>
> $ rpm -q --redhatprovides libcanna.so.1.0
> Canna-libs-3.5b2-50
> $ rpm -q --redhatprovides libRKC.so.1.0
> Canna-libs-3.5b2-50
> $ rpm -q --redhatprovides libwnn6.so.1.0
> Wnn6-SDK-1.0-14
>
> So your dependencies can be resolved with the Canna-libs-3.5b2-50 and
> Wnn6-SDK-1.0-14 packages.
>
> In order for this query to work, you must have installed the rpmdb-redhat
> package.

Very slick! Thanks for the hint.

Of course this would be even more useful if RH 7.2 installed the
rpmdb-redhat package by default....

--
Breen Mullins
San Mateo, California