Re: [xml] undefined symbol error with xmlNodeBufGetContent

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

  I would bet ./example loads the wrong shared library. check with
ldd ./example which one is loaded (assuming being on Linux).


Daniel Veillard      | Red Hat Desktop team
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]