Re: [xml] undefined symbol error with xmlNodeBufGetContent



On Thu, Nov 04, 2004 at 11:00:11AM -0500, katy bradley kodak com wrote:

When I do a ldd ./example, it gives me this response:

 libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40034000)
 libz.so.1 => /usr/lib/libz.so.1 (0x4011f000)
 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x4012d000)
 libm.so.6 => /usr/lib/libm.so.6 (0x4013a000)
 libc.so.6 => /usr/lib/libc.so.6 (0x42000000)
 lib/ld-linux.so.2 =? /lib/ld-linux.so.2 (0x40000000)

 Is this an incorrect library? Which shared library do I want?  I apologize
 for my ignorance -  I am new to Linux, haven't used C in years, and have
 only dabbled in XML.

 I downloaded and installed libxml2-2.6.10 from the website, so that's what
 I'm trying to use on redhat linux.

  if using an RPM based Linux, rpm -qf /usr/lib/libxml2.so.2
will tell you what version of libxml2 your program is really using,
and as I said it sounds it is not 2.6.10. Check with your system
administrator on how to upgrade your libxml2 version to a new one if
this happen to not be the 2.6.10 you installed.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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