yum libraries error

Paul Howarth paul at city-fan.org
Wed Aug 24 19:17:42 UTC 2005


On Wed, 2005-08-24 at 13:23 -0400, Mjumbe Poe wrote:
> On 8/24/05, Michael Schwendt <mschwendt.tmp0501.nospam at arcor.de> wrote:
> > On Wed, 24 Aug 2005 10:05:31 -0400, Mjumbe Poe wrote:
> > 
> > > > > ImportError: /usr/local/lib/librpmio-4.4.so: undefined symbol:
> > 
> > > > > GSS_C_NT_HOSTBASED_SERVICE
> > > > > [root at mjumbewu yum-cli]#
> > > >
> > > > Why have you got this RPM library installed in /usr/local/lib?
> > > >
> > > > The FC4 rpm-libs package installs it into /usr/lib/librpmio-4.4.so
> > >
> > > It's probably because, a while back, I installed Python2.4 from a
> > > tarball.  I've since installed from rpms.  Didn't have problems with
> > > that until now.
> > >
> > > The /usr/local/lib files do indeed exist:
> > >
> > > [root at mjumbewu updates]# ll /usr/lib/librpm*
> > 
> > You're listing /usr/lib here, _not_ /usr/local/lib. The libraries
> > in /usr/local/lib, which do not belong to Fedora Core, cause your
> > problems. See top of this mail: undefined symbol!
> 
> Right, I'm sorry, I meant "The /usr/lib files do indeed exist:...".  I
> suppose my main question is then: how do I make python look in
> /usr/lib instead of /usr/local/lib?  I am, after all, using python
> from /usr/bin and not /usr/local/bin:
> 
> [root at mjumbewu ~]# which python
> /usr/bin/python
> [root at mjumbewu ~]#

You could try moving the rpm libs out of /usr/local/lib and into
somewhere where they won't be found when you run yum ... you almost
certainly don't need those libs any more.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list