Thanks, Dave.

Using an old shared library did not seem to work.
I ended up downloading and building the Xerces source, created a new
Xerces library, and now everything seems to be working.

Thanks for your patience in dealing with a newbie.  If you would like
me to assemble all the steps you just walked me through for a FAQ
for building Xalan on Linux 7.1, let me know where to put it, and it might
save you from doing this again.  I would just hate to do it if RedHat ends
up fixing their compiler problems.

Charlie Peppler

[EMAIL PROTECTED] wrote:

> You'll probably need to download the Xerces source distribution and rebuild
> it.  It looks like the old version of the standard library is no longer
> available.  You might also try to copy the old shared library (.so) from an
> older RedHat distribution.  That verson of Xerces was built on RedHat 6.1 .
>
> Dave
>
>
>                       Charlie Peppler
>                       <cpeppler@mediao         To:      [EMAIL PROTECTED]
>                       ne.net>                  cc:      (bcc: David N 
>Bertoni/CAM/Lotus)
>                                                Subject: (Linux 7.1 build) Looking for
>                       08/02/2001 10:16         libstdc++-libc6.1-1.so.2
>                       PM
>                       Please respond
>                       to xalan-dev
>
>
>
> 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