Re: Warning: XML::LibXML compiled against libxml2 20708, but runtime libxml2 is older 20626
Shlomi Fish <[email protected]> Thu, 17 Nov 2011 10:33:39 +0200
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Hi Gary, On Wed, 16 Nov 2011 11:25:41 -0800 (PST) Gary Yang <[email protected]> wrote: > 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. Maybe try using "strace" (or whatever is your system's equivalent) and see what exactly happens. "ldd" may also be of use. Regards, Shlomi Fish > > 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 -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Rethinking CPAN - http://shlom.in/rethinking-cpan You name it — COBOL does not have it. Please reply to list if it's a mailing list post - http://shlom.in/reply . _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs