You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by "Perry, Jay" <Ja...@netapp.com> on 2003/02/19 02:38:36 UTC

Compatibility of Xalan C++ 1.4 and Xerces C++ 2.2.0

Has anybody done any testing using Xalan C++ 1.4
with Xerces C++ 2.2.0?  I realize that nothing
formal has been done, or otherwise you would have
updated your download site.  So, I am only hoping
for a little anecdotal feedback before I download
and install.

Also, is there a timeline for a compatible release?

Xerces C++ 2.2.0 has been out for about 3 weeks,
has some features I am interested in, but I also
need to use Xalan.

Thanks,

Jay Perry
jay.perry@netapp.com

Re: Compatibility of Xalan C++ 1.4 and Xerces C++ 2.2.0

Posted by David N Bertoni/Cambridge/IBM <da...@us.ibm.com>.



Hi Jay,

They are not compatible -- Xerces-C 2.2.0 is now using C++ namespaces,
which won't work with the 1.4 code.

You can get the latest code from CVS, or get a CVS nightly tarball.  We are
working on a release and hope to have one done soon.  It's unlikely the
code will change much unless we find some major problem.

Dave



                                                                                                                                        
                      "Perry, Jay"                                                                                                      
                      <Jay.Perry@netap         To:      <xa...@xml.apache.org>                                                  
                      p.com>                   cc:      (bcc: David N Bertoni/Cambridge/IBM)                                            
                                               Subject: Compatibility of Xalan C++ 1.4 and Xerces C++ 2.2.0                             
                      02/18/2003 05:38                                                                                                  
                      PM                                                                                                                
                                                                                                                                        




Has anybody done any testing using Xalan C++ 1.4
with Xerces C++ 2.2.0?  I realize that nothing
formal has been done, or otherwise you would have
updated your download site.  So, I am only hoping
for a little anecdotal feedback before I download
and install.

Also, is there a timeline for a compatible release?

Xerces C++ 2.2.0 has been out for about 3 weeks,
has some features I am interested in, but I also
need to use Xalan.

Thanks,

Jay Perry
jay.perry@netapp.com



Re: ln -s libstdc++.so.5 libstdc++.so.4???

Posted by David N Bertoni/Cambridge/IBM <da...@us.ibm.com>.



Building Xalan 1.4 on RH 8.0 may be problemmatic because of gcc 3.2.  I
suggest you build gcc 3.2.2 and build Xalan and Xerces with recent CVS or
nightly CVS tarballs.

I don't know why you're getting such weird link dependencies, but something
is definitely wrong with your configuration.

Dave



|---------+--------------------------->
|         |           Rishi Sampat    |
|         |           <rishi_sampat@ya|
|         |           hoo.com>        |
|         |                           |
|         |           02/18/2003 06:32|
|         |           PM              |
|         |           Please respond  |
|         |           to xalan-dev    |
|---------+--------------------------->
  >----------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                  |
  |        To:      xalan-dev@xml.apache.org                                                                                         |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                                             |
  |        Subject: ln -s libstdc++.so.5 libstdc++.so.4???                                                                           |
  >----------------------------------------------------------------------------------------------------------------------------------|



Hi,
   I managed a build with Xalan 1.4 and Xerces 2.1.
When I run Xalan I get an error as below. I seem to
get

*******************************************************
Xalan: error while loading shared libraries:
libstdc++.so.4: cannot open shared object file: No
such file or directory
*******************************************************

I am running RH 8.0. Could I do
1) ln -s libstdc++.so.5 libstdc++.so.4
2) ldconfig
3) and then rebuild?


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



ln -s libstdc++.so.5 libstdc++.so.4???

Posted by Rishi Sampat <ri...@yahoo.com>.
Hi,
   I managed a build with Xalan 1.4 and Xerces 2.1.
When I run Xalan I get an error as below. I seem to
get 

*******************************************************
Xalan: error while loading shared libraries:
libstdc++.so.4: cannot open shared object file: No
such file or directory
*******************************************************

I am running RH 8.0. Could I do 
1) ln -s libstdc++.so.5 libstdc++.so.4
2) ldconfig 
3) and then rebuild?

-----------------------------------------------------
ldd -v Xalan resulted in

ldd -v Xalan
        libxalan-c1_4_0.so =>
/home/rishi/src/xml-xalan/c/lib/libxalan-c1_4_0.so
(0x40013000)
        libxerces-c.so.21 =>
/home/rishi/src/xerces-c-src2_1_0/lib/libxerces-c.so.21
(0x402a8000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5
(0x40537000)
        libm.so.6 => /lib/i686/libm.so.6 (0x405e9000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1
(0x4060b000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        libpthread.so.0 => /lib/i686/libpthread.so.0
(0x40613000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x40000000)
        libstdc++.so.4 => not found

        Version information:
        ./Xalan:
                libgcc_s.so.1 (GCC_3.0) =>
/lib/libgcc_s.so.1
                libc.so.6 (GLIBC_2.0) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1.3) =>
/lib/i686/libc.so.6
                libpthread.so.0 (GLIBC_2.0) =>
/lib/i686/libpthread.so.0
                libpthread.so.0 (GLIBC_2.1) =>
/lib/i686/libpthread.so.0
                libstdc++.so.5 (CXXABI_1.2) =>
/usr/lib/libstdc++.so.5
                libstdc++.so.5 (GLIBCPP_3.2) =>
/usr/lib/libstdc++.so.5
       
/home/rishi/src/xml-xalan/c/lib/libxalan-c1_4_0.so:
                libgcc_s.so.1 (GCC_3.0) =>
/lib/libgcc_s.so.1
                libc.so.6 (GLIBC_2.1.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.0) =>
/lib/i686/libc.so.6
                libm.so.6 (GLIBC_2.0) =>
/lib/i686/libm.so.6
       
/home/rishi/src/xerces-c-src2_1_0/lib/libxerces-c.so.21:
                libgcc_s.so.1 (GCC_3.0) =>
/lib/libgcc_s.so.1
                libpthread.so.0 (GLIBC_2.0) =>
/lib/i686/libpthread.so.0
                libpthread.so.0 (GLIBC_2.1) =>
/lib/i686/libpthread.so.0
                libc.so.6 (GLIBC_2.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.0) =>
/lib/i686/libc.so.6
                libstdc++.so.5 (GLIBCPP_3.2) =>
/usr/lib/libstdc++.so.5
                libstdc++.so.5 (CXXABI_1.2) =>
/usr/lib/libstdc++.so.5
        /usr/lib/libstdc++.so.5:
                libgcc_s.so.1 (GCC_3.0) =>
/lib/libgcc_s.so.1
                libc.so.6 (GLIBC_2.2) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.0) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1) =>
/lib/i686/libc.so.6
        /lib/i686/libm.so.6:
                libc.so.6 (GLIBC_2.1.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.0) =>
/lib/i686/libc.so.6
        /lib/libgcc_s.so.1:
                libc.so.6 (GLIBC_2.2.4) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.0) =>
/lib/i686/libc.so.6
        /lib/i686/libc.so.6:
                ld-linux.so.2 (GLIBC_2.1) =>
/lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.0) =>
/lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_PRIVATE) =>
/lib/ld-linux.so.2
        /lib/i686/libpthread.so.0:
                libc.so.6 (GLIBC_2.1.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.3) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.2) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.1.2) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) =>
/lib/i686/libc.so.6
                libc.so.6 (GLIBC_2.0) =>
/lib/i686/libc.so.6

Thanks,
Rishi



__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com