Re: [xml] undefined symbol error with xmlNodeBufGetContent
- From: Daniel Veillard <veillard redhat com>
- To: katy bradley kodak com
- Cc: xml gnome org
- Subject: Re: [xml] undefined symbol error with xmlNodeBufGetContent
- Date: Mon, 1 Nov 2004 16:36:34 -0500
On Mon, Nov 01, 2004 at 01:54:25PM -0500, katy bradley kodak com wrote:
I am compiling the code using: gcc -o example `xml2-config --cflags`
example.c `xml2-config --libs` and it compiles without any errors or
warnings. When I run the program, after the line xmlNodeBufGetContent(buf,
cur->xmlChildrenNode); I get the following error: ./example relocation
error: ./example undefined symbol: xmlNodeBufGetContent.
Am I missing a library I have to include? I thought that function was in
tree.h...
I would bet ./example loads the wrong shared library. check with
ldd ./example which one is loaded (assuming being on Linux).
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]