Hi!! First of all, as far as I know LD_LIBRARY_PATH has nothing to do with you compiling. Is is used when executing the program. The LD_LIBRARY_PATH is then used for searhing for used shared object.
What seems strange to me is that you are using xerces 2.3.0 and the linkerror is complaining about xerces 2.2. Is there an error in the use of namespaces somewhere? Seems that your function printNodeNode() tries to call an old transcode()? //daniel Andreas B. Thun (2003-07-24 13:58): >Hi, > >I´ve just installed the new xerces 2_3_0 and built the samples -> runs fine. > >Then I´ve compiled successfully my library libdomparse (DOMParse.cpp) which I want to use >in my main DOMParse_test. > > >But ... unfortunately I get these linking errors when I try to link my main program DOMPARSE_test: > >g++ -w -pedantic -g -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion -Wall -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS -I../../include -Iinclude -I. ./../xerces-c-src_2_3_0/include -o >DOMPARSE_test \ >DOMParse_test.cpp -L../../lib -L/usr/local/lib -L../../xerces-c-src_2_3_0/lib -ldomparse -lcontemplate -lxerces-c -lantlr > >../../lib/libdomparse.a(DOMParse.o)(.text+0x1c7): In function `printNodeName': >/home/abt/DOMParse.cpp:150: >undefined reference to `xercesc_2_2::XMLString::transcode(unsigned short const*)' > ^^^^^^^^^^^^^^^^^^^^ > >../../lib/libdomparse.a(DOMParse.o)(.text+0x252): In function `getNodeValue': >/home/abt/DOMParse.cpp:178: >undefined reference to `xercesc_2_2::XMLString::transcode(unsigned short const*)' > ^^^^^^^^^^^^^^^^^^^^ >... > > >I am running out of ideas, LD_LIBRARY_PATH for my LINUX system is set.... > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > ------------------------------------------------------------------ RFV Data E-post: [EMAIL PROTECTED] Utvecklingsenheten/Grupp 2 Tfn: 060-187126 S.a Järnvägsgatan 41 Mobil: 070-3016517 851 93 Sundsvall Fax: 060-147870 ------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]