Bug 121956 - rpm-python version incompatibility
Summary: rpm-python version incompatibility
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-29 10:47 UTC by David Fraser
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-04 15:26:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Fraser 2004-04-29 10:47:04 UTC
Description of problem:
Trying to "import rpm" from python gives error:
ImportError: librpm-4.2.so: cannot open shared object file: No such
file or directory

Version-Release number of selected component (if applicable):
rpm-4.3.1-0.3
python-2.3.3-3
rpm-python-4.3.1-0.3

How reproducible:
Consistently

Steps to Reproduce:
1. run python at command prompt
2. type "import rpm"
3.
  
Actual results:
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: librpm-4.2.so: cannot open shared object file: No such
file or directory


Expected results:
import without error

Additional info:
librpm-4.3.so exists and belongs to the rpm package. librpm-4.2.so
does not exist
this also prevents anaconda from running

Comment 1 Jeff Johnson 2004-05-04 15:26:09 UTC
$ python
Python 2.3.3 (#1, Mar 16 2004, 16:37:35)
[GCC 3.3.3 20040311 (Red Hat Linux 3.3.3-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpm
>>>

Look at your search path, verify that you don't have
another rpmmodule on that path that is linked against librpm-4.2.

Resinstalling rpm-python probably fixes.

Comment 2 David Fraser 2004-05-04 16:00:54 UTC
Alas! You were right, sorry for the spam...


Note You need to log in before you can comment on or make changes to this bug.