On Wed, Sep 22, 2004 at 03:09:52PM +0200, Barbara Pennacchi wrote: > On 17.09.04 21:20, Michael Stenner wrote: > >Run the problematic python at the command line with no arguments. In > >the resulting interactive interpreter, run "import ftplib" and tells > >me what happens. It SHOULD simply give you a new prompt with no > >output. Your error from above suggests that you'll get a traceback, > >though, and probably one that ends with the same message as above. > > uh, actually it gives me this: > > >Python 2.2.2 (#1, Feb 24 2003, 19:13:11) > >[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2 > >Type "help", "copyright", "credits" or "license" for more information. > >>>> import ftplib > >Traceback (most recent call last): > > File "<stdin>", line 1, in ? > > File "/usr/lib/python2.2/ftplib.py", line 46, in ? > > import socket > > File "/usr/lib/python2.2/socket.py", line 41, in ? > > from _socket import * > >ImportError: /lib/libssl.so.4: undefined symbol: krb5_cc_get_principal > > Looks like there's some trouble with either openssl-0.9.7a-30 (provides > libssl.so.4) or krb5-libs-1.2.7-14 or both (although I did a rpm -V -vv on > krb5-libs and openssl and didn't see any errors. > > Same thing on the box with python 2.2.3. *sigh* > > Tried even locating duplicate versions of libssl.so.4. There were none, > just /lib/libssl.so.4 > > Should I try reinstalling openssl and/or krb5-libs after upgrading python > to 2.2.3 and before installing yum2.0.7-3.noarch.rpm? OK, this looks very familiar (python + socket.py + openssl). Try searching the net, and specifically this list (think google and site:) for answers. People have run into this problem before. At this point, though, it's clear that it's not a yum problem. socket is an extremely standard package and no application that uses will function correctly. It's probably a badly-built rpm of something (as you say). -Michael -- Michael D. Stenner mstenner@xxxxxxxxxxxxxxx ECE Department, the University of Arizona 520-626-1619 1230 E. Speedway Blvd., Tucson, AZ 85721-0104 ECE 524G