On Sat, 10 Jul 2004, Gene Heskett wrote:
All this didn't fix yum though, its still doing this: [root@coyote root]# yum update Traceback (most recent call last): File "/usr/bin/yum", line 22, in ? import yummain File "/usr/share/yum/yummain.py", line 31, in ? import yumcomps File "/usr/share/yum/yumcomps.py", line 4, in ? import comps File "/usr/share/yum/comps.py", line 5, in ? import libxml2 File "/usr/lib/python2.2/site-packages/libxml2.py", line 1, in ? import libxml2mod ImportError: /usr/lib/python2.2/site-packages/libxml2mod.so: undefined symbol: xmlByteConsumed [root@coyote root]#
Here is something else you can do:
rpm -q libxml2 rpm -V libxml2 nm -o /usr/lib/libxml2.a |grep xmlByteConsumed strings /usr/lib/libxml2.so.2 |grep xmlByteConsumed python import libxml2
I get:
asterix:/home/balay>rpm -q libxml2
libxml2-2.6.6-3
asterix:/home/balay>rpm -V libxml2
asterix:/home/balay>nm -o /usr/lib/libxml2.a |grep xmlByteConsumed
/usr/lib/libxml2.a:encoding.o:00002490 T xmlByteConsumed
asterix:/home/balay>strings /usr/lib/libxml2.so.2 |grep xmlByteConsumed
xmlByteConsumed
asterix:/home/balay>python
Python 2.2.3 (#1, Oct 15 2003, 23:33:35) [GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import libxml2
Satish