Re: [xml] libxml2 run time question

On Mon, Jan 15, 2007 at 03:29:22AM -0500, Daniel Veillard wrote:
On Mon, Jan 15, 2007 at 01:33:12PM +0800, Yuan Ni wrote:
Hi everyone,
My code havs used the libxml2 2.6.27 on the rpm for redhat i386 on Fedora
core 6.
The compile and link is ok.
However, when i run the code, it gives me the following error message :
error while loading shared libraries: ELF file data encoding
not little-endian
does it means that the library i used does not match my architecture?
How to deal with this problem?

  Check that you have no other in your environment than the
ones in /usr/lib . A lot of things in fedora depends on libxml2, and if
the library was really corrupted as this seems to indicate a lot of other
things would probably fail (e.g. when running the Gnome environment).

  use ldd on your binary to find out where it's picking up from.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]