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
$ 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.
Alas! You were right, sorry for the spam...