Warning: XML::LibXML compiled against libxml2 20708, but runtime libxml2 is older 20626

Gary Yang <[email protected]> Wed, 16 Nov 2011 11:25:41 -0800 (PST)
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Hi,

I posted a similar question earlier. But, no one respond. Can someone kindly help?

I got the Warnings below:

Warning: program compiled against libxml 207 using older 206
Warning: XML::LibXML compiled against libxml2 20708, but runtime libxml2 is older 20626

I guess it is related to library path. But, I do not know how to fix it. Below is the detail.

echo $LD_LIBRARY_PATH 
/usr/lib

ls -alF /usr/lib | grep xml
-rw-r--r--   1 root root  4736614 Nov 10 15:30 libxml2.a
-rwxr-xr-x   1 root root      925 Nov 10 15:30 libxml2.la*
lrwxrwxrwx   1 root root       16 Nov 10 15:30 libxml2.so -> libxml2.so.2.7.8*
lrwxrwxrwx   1 root root       16 Nov 10 15:30 libxml2.so.2 -> libxml2.so.2.7.8*
-rwxr-xr-x   1 root root  1250176 Aug  4  2009 libxml2.so.2.6.26*
-rwxr-xr-x   1 root root  3377026 Nov 10 15:30 libxml2.so.2.7.8*
-rw-r--r--   1 root root   572212 Jul 12  2006 libxmlsec1.a
lrwxrwxrwx   1 root root       19 Jun 23 10:55 libxmlsec1.so -> libxmlsec1.so.1.2.9*
lrwxrwxrwx   1 root root       19 Jun 23 10:52 libxmlsec1.so.1 -> libxmlsec1.so.1.2.9*
-rwxr-xr-x   1 root root   410628 Jul 12  2006 libxmlsec1.so.1.2.9*
-rw-r--r--   1 root root      198 Nov 10 15:30 xml2Conf.sh
-rw-r--r--   1 root root      619 Jul 12  2006 xmlsec1Conf.sh


When I run my Perl script, I got the warnings. Any idea?


Thanks,


Gary

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs