On Sat, Apr 17, 2010 at 08:44:09PM -0500, David C. Rankin wrote:
On 04/17/2010 06:49 PM, Byron Clark wrote:
Thanks Byron,
The issue ended up being a new libssl version. Thankfully there was a libssl-compatibility package in AUR that provided libssl.so.0.9.8. That's one way to fix it. The other way is to rebuild rpm or whichever of its dependencies link to libssl.so.
That's where I have to get smarter and find out what tools I need to use to figure that answer out. Right now there are several dependencies for createrepo and I don't know which calls libssl or libkrb5:
Here's one way to find out. The original error was thrown in /usr/lib/python2.6/site-packages/rpm/__init__.py. % pacman -Qo /usr/lib/python2.6/site-packages/rpm/__init__.py /usr/lib/python2.6/site-packages/rpm/__init__.py is owned by rpm 5.1.9-1
From the line that threw the exception, is looks like the rpm python module is importing a C extension module. Let's see if we can find it.
From there, just run ldd on /usr/lib/python2.6/site-packages/rpm/_rpmmodule.so. You'll find that it
% pacman -Ql rpm | grep python | grep .so$ rpm /usr/lib/python2.6/site-packages/rpm/_rpmmodule.so links to libssl and libkrb5. So, rebuild that rpm package and you should be able to get rid of libssl-compatibility. -- Byron Clark