[CentOS] yum libxml2mod

Johnny Hughes mailing-lists at hughesjr.com
Wed Sep 27 14:59:47 UTC 2006


On Tue, 2006-09-26 at 21:31 -0400, Jesus Bernardo Ruiz Flores wrote:
> I have a problem using yum. it gives me the following error
> 
> [root at mail1 src]# yum update yum
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
> 
>    /usr/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: 
> xmlNewDocPI

This usually happens if python (or libxml2) has been upgraded to a non
centos version.  It seems you have the correct python ... what does this
say:

rpm -q libxml2 libxml2-python python yum


<snip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20060927/7682ec56/attachment.bin


More information about the CentOS mailing list