On Wed, 2005-08-24 at 13:23 -0400, Mjumbe Poe wrote: > On 8/24/05, Michael Schwendt <mschwendt.tmp0501.nospam@xxxxxxxx> wrote: > > On Wed, 24 Aug 2005 10:05:31 -0400, Mjumbe Poe wrote: > > > > > > > ImportError: /usr/local/lib/librpmio-4.4.so: undefined symbol: > > > > > > > GSS_C_NT_HOSTBASED_SERVICE > > > > > [root@mjumbewu yum-cli]# > > > > > > > > Why have you got this RPM library installed in /usr/local/lib? > > > > > > > > The FC4 rpm-libs package installs it into /usr/lib/librpmio-4.4.so > > > > > > It's probably because, a while back, I installed Python2.4 from a > > > tarball. I've since installed from rpms. Didn't have problems with > > > that until now. > > > > > > The /usr/local/lib files do indeed exist: > > > > > > [root@mjumbewu updates]# ll /usr/lib/librpm* > > > > You're listing /usr/lib here, _not_ /usr/local/lib. The libraries > > in /usr/local/lib, which do not belong to Fedora Core, cause your > > problems. See top of this mail: undefined symbol! > > Right, I'm sorry, I meant "The /usr/lib files do indeed exist:...". I > suppose my main question is then: how do I make python look in > /usr/lib instead of /usr/local/lib? I am, after all, using python > from /usr/bin and not /usr/local/bin: > > [root@mjumbewu ~]# which python > /usr/bin/python > [root@mjumbewu ~]# You could try moving the rpm libs out of /usr/local/lib and into somewhere where they won't be found when you run yum ... you almost certainly don't need those libs any more. Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>