Thanks for the pointer, Dave.  I found the PrefixResolver problem, and almost got to a 
clean
build!

All of the compilations completed OK, and it seemed to build libxalan-c1_1.so OK,
when it goes to build the testXSLT executable, it looks like the libxerces-cl_4.so 
library
calls for libstdc++-libc6.1-1.so.2, which it can't find.

When I look in /usr/lib, I find:
libstdc++-3-libc6.2-2-2.10.0.a   libstdc++-libc6.2-2.a.3
libstdc++-3-libc6.2-2-2.10.0.so  libstdc++-libc6.2-2.so.3

Shouldn't the full build on 7.1 have broken the dependencies on the old shared library?

I'm so close!  Any idea how I can get testXSLT it to link on Linux 7.1?  Thanks in 
advance.

I'm keeping track of all these changes as I go, so I would be glad to post the steps
of pain that Dave has walked me through, but I gotta get to the finish line of a
testXSLT that does transforms!

Here is the full dump:

-------------- Begin Dump  ------------------
[--- removed list of object files up here, as part of building the libxalan-c1_1.so 
-----]

e/bin/xml-xalan/c/obj/XercesProcessingInstructionBridge.o
/home/aceline/bin/xml-xalan/c/obj/XercesTextBridgeAllocator.o
/home/aceline/bin/xml-xalan/c/obj/XercesTextBridge.o
/home/aceline/bin/xml-xalan/c/obj/XercesToXalanNodeMap.o
/home/aceline/bin/xml-xalan/c/obj/XercesTreeWalker.o 
/home/aceline/bin/xml-xalan/c/obj/XalanCAPI.o
/home/aceline/bin/xml-xalan/c/obj/XalanTransformer.o
/home/aceline/bin/xml-xalan/c/obj/XalanTransformerOutputStream.o -o
/home/aceline/bin/xml-xalan/c/lib/libxalan-c1_1.so
g++  -fpic -Wall -static -DLINUX -D_REENTRANT  -c -I. 
-I/home/aceline/bin/xml-xerces/c/src/
-I/home/aceline/bin/xml-xerces/c/include/   -o 
/home/aceline/bin/xml-xalan/c/obj/process.o
TestXSLT/process.cpp
g++ -DLINUX -fpic    \
-lc -L/home/aceline/bin/xml-xalan/c/lib -lxalan-c1_1  -L/usr/lib -L/usr/local/lib
-L/home/aceline/bin/xml-xerces/c/lib -lxerces-c1_4 
/home/aceline/bin/xml-xalan/c/obj/process.o -o
/home/aceline/bin/xml-xalan/c/bin/testXSLT
/usr/bin/ld: warning: libstdc++-libc6.1-1.so.2, needed by
/home/aceline/bin/xml-xalan/c/lib/libxerces-c1_4.so, not found (try using -rpath or 
-rpath-link)
g++  -fpic -Wall -static -DLINUX -D_REENTRANT  -c -I. 
-I/home/aceline/bin/xml-xerces/c/src/
-I/home/aceline/bin/xml-xerces/c/include/   -o 
/home/aceline/bin/xml-xalan/c/obj/TestXPath.o
TestXPath/TestXPath.cpp
g++  -fpic -Wall -static -DLINUX -D_REENTRANT  -c -I. 
-I/home/aceline/bin/xml-xerces/c/src/
-I/home/aceline/bin/xml-xerces/c/include/   -o 
/home/aceline/bin/xml-xalan/c/obj/NodeNameTreeWalker.o
TestXPath/NodeNameTreeWalker.cpp
g++ -DLINUX -fpic    \
-lc -L/home/aceline/bin/xml-xalan/c/lib -lxalan-c1_1  -L/usr/lib -L/usr/local/lib
-L/home/aceline/bin/xml-xerces/c/lib -lxerces-c1_4  
/home/aceline/bin/xml-xalan/c/obj/TestXPath.o
/home/aceline/bin/xml-xalan/c/obj/NodeNameTreeWalker.o -o 
/home/aceline/bin/xml-xalan/c/bin/testXPath
/usr/bin/ld: warning: libstdc++-libc6.1-1.so.2, needed by
/home/aceline/bin/xml-xalan/c/lib/libxerces-c1_4.so, not found (try using -rpath or 
-rpath-link)

[------- Removed some here -----------]

bash-2.04$ ./testXSLT --help
./testXSLT: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot 
load shared object
file: No such file or directory
bash-2.04$ echo $LD_LIBRARY_PATH
/home/aceline/bin/xml-xalan/c/lib
bash-2.04$ ls $LD_LIBRARY_PATH
libxalan-c1_1.so  libxerces-c1_4.so
bash-2.04$ ls /usr/lib/libstdc*
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.a   /usr/lib/libstdc++-libc6.2-2.a.3
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so  /usr/lib/libstdc++-libc6.2-2.so.3

-------------- End Dump ---------------------

[EMAIL PROTECTED] wrote:

> See the archives:
>
>    http://marc.theaimsgroup.com/?l=xalan-dev&w=2&r=1&s=PrefixResolver&q=b
>
> Dave
>
>

[...]
--
Charlie Peppler
[EMAIL PROTECTED]
978-887-8411 (work)
978-887-9764 (fax)
http://www.ace-line.com


Reply via email to