Re: yum libraries error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/24/05, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
> Mjumbe Poe wrote:
> > I have a problem.  I recently upgraded (from ISOs) to Fedora Core 4
> > from FC3, and now whenever I run yum, I get the following error:
> >
> > [root@mjumbewu ~]# yum grouplist
> > The yum libraries do not seem to be availableon your system for this
> > version of python  2.4.1 (#1, May 16 2005, 15:19:29)
> > [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
> > Please make sure the package you used to installyum was built for your
> > install of python.
> >
> > Some info that might be useful:
> >
> > [root@mjumbewu ~]# rpm -q yum
> > yum-2.3.2-7
> >
> > [root@mjumbewu ~]# rpm -V yum
> > S.5....T  c /etc/yum.conf
> > ..?.....    /usr/lib/python2.4/site-packages/repomd/__init__.py
> >
> > [root@mjumbewu yum-cli]# pwd
> > /usr/share/yum-cli
> > [root@mjumbewu yum-cli]# python yummain.py grouplist
> > Traceback (most recent call last):
> >   File "yummain.py", line 23, in ?
> >     import yum
> >   File "__init__.py", line 21, in ?
> >   File "/usr/lib/python2.4/site-packages/rpm/__init__.py", line 7, in ?
> >     from _rpm import *
> > ImportError: /usr/local/lib/librpmio-4.4.so: undefined symbol:
> > GSS_C_NT_HOSTBASED_SERVICE
> > [root@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@mjumbewu updates]# ll /usr/lib/librpm*
-rwxr-xr-x  1 root root  320180 Aug 24 03:21 /usr/lib/librpm-4.3.so
-rwxr-xr-x  1 root root  371544 May 24 11:38 /usr/lib/librpm-4.4.so
-rw-r--r--  1 root root  534018 May 24 11:38 /usr/lib/librpm.a
-rwxr-xr-x  1 root root  138072 Aug 24 03:21 /usr/lib/librpmbuild-4.3.so
-rwxr-xr-x  1 root root  146612 May 24 11:38 /usr/lib/librpmbuild-4.4.so
-rw-r--r--  1 root root  211542 May 24 11:38 /usr/lib/librpmbuild.a
-rwxr-xr-x  1 root root    1163 May 24 11:37 /usr/lib/librpmbuild.la
lrwxrwxrwx  1 root root      18 Aug 23 17:33 /usr/lib/librpmbuild.so
-> librpmbuild-4.4.so
-rwxr-xr-x  1 root root  944788 Aug 24 03:21 /usr/lib/librpmdb-4.3.so
-rwxr-xr-x  1 root root 1091144 May 24 11:38 /usr/lib/librpmdb-4.4.so
-rw-r--r--  1 root root 1683386 May 24 11:38 /usr/lib/librpmdb.a
-rwxr-xr-x  1 root root    1092 May 24 11:37 /usr/lib/librpmdb.la
lrwxrwxrwx  1 root root      15 Aug 23 17:33 /usr/lib/librpmdb.so ->
librpmdb-4.4.so
-rwxr-xr-x  1 root root  331724 Aug 24 03:21 /usr/lib/librpmio-4.3.so
-rwxr-xr-x  1 root root  471776 May 24 11:38 /usr/lib/librpmio-4.4.so
-rw-r--r--  1 root root  712346 May 24 11:38 /usr/lib/librpmio.a
-rwxr-xr-x  1 root root    1022 May 24 11:37 /usr/lib/librpmio.la
lrwxrwxrwx  1 root root      15 Aug 23 17:33 /usr/lib/librpmio.so ->
librpmio-4.4.so
-rwxr-xr-x  1 root root    1109 May 24 11:37 /usr/lib/librpm.la
lrwxrwxrwx  1 root root      13 Aug 23 17:33 /usr/lib/librpm.so -> librpm-4.4.so
[root@mjumbewu updates]#

- Mjumbe


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux