Re: "pickle" warning when running yum update

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

 



On Tue, 23 Aug 2005 12:49:10 +0100, Robin Bowes wrote:

> > Hmm... does this work for you, too?
> > 
> > $ python
> > Python 2.4.1 (#1, May 16 2005, 15:19:29) 
> > [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > 
> >>>>import sqlite
> >>>>import yum.sqlitecache
> >>>>import yum.sqlitesack
> >>>>
> 
> Right, now we're getting somewhere:
> 
> [root@dude ~]# python
> Python 2.4.1 (#1, May 16 2005, 15:19:29)
> [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import sqlite
> Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
>    File 
> "/usr/src/build/539311-i386/install//usr/lib/python2.4/site-packages/sqlite/__init__.py", 
> line 1, in ?
> ImportError: /usr/lib/python2.4/site-packages/_sqlite.so: undefined 
> symbol: sqlite3_libversion
> 
> That's a more meaty error message!
> 
> Does that tell you anything?

Tells me that your libsqlite3.so.0 is either not found or incompatible,
but the "rpm -V sqlite" line tried earlier should have reported that.
So what do you get for:

  rpm -qf /usr/lib/python2.4/site-packages/_sqlite.so
  ldd /usr/lib/python2.4/site-packages/_sqlite.so
  rpm -qf /usr/lib/libsqlite3.so.0

Reinstalling the "python-sqlite" and "sqlite" packages could fix it,
provided that there's nothing in your system which overrides the sqlite
package (ldd should tell about that).


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

  Powered by Linux