As I stated in the bug report, there's no way for us to debug your build
problems.  I suspect you have either not done a clean build, or you have a
configuration issue with gcc on your machine.  Here is the result of
running ldd on my local version:

[EMAIL PROTECTED] bin]$ ldd SimpleTransform
        libxalan-c1_5_0.so =>
/home/xalan/apache/xml-xalan/c/lib/libxalan-c1_5_0.so (0x40018000)
        libxerces-c.so.21 =>
/home/xalan/apache/xerces-c2_1_0-linux7.2gcc31/lib/libxerces-c.so.21
(0x402d8000)
        libstdc++.so.4 => /usr/local/lib/libstdc++.so.4 (0x4057e000)
        libm.so.6 => /lib/i686/libm.so.6 (0x4064c000)
        libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x4066f000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40678000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x407b4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Try doing a _clean_ build to make sure you have no executables left from
the distribution, which was built with 3.1, and see if that fixes the
problem.

And please do not copy me on postings to the list -- I'm already
subscribed, so you're just adding useless duplicates to my inbox.

Dave



                                                                                
                                                      
                      Jiann-Ming Su                                             
                                                      
                      <[EMAIL PROTECTED]>         To:      David N 
Bertoni/Cambridge/IBM <[EMAIL PROTECTED]>                    
                                               cc:      
[email protected]                                                  
                      11/01/2002 10:38         Subject: Re: sample execution 
problme (addendum)                                       
                      AM                                                        
                                                      
                                                                                
                                                      



On Thu, 31 Oct 2002, David N Bertoni/Cambridge/IBM wrote:

>
>
>
>
>
> As I stated in the bug report you filed, gcc 3.1 links libstdc++.so.4.
If
> you don't believe me, do an ldd on the executable!
>
> The obvious solution is to put the directory with libstdc++.so.4 on your
> LD_LIBRARY_PATH.
>

Sorry for the seperate responses, but the Xalan binary links properly, but
the samples do not.

# ldd Xalan
        libxalan-c1_4_0.so => /usr/local/xml-xalan/lib/libxalan-c1_4_0.so
(0x40029000)
        libxerces-c.so.21 => /usr/local/lib/libxerces-c.so.21 (0x402b4000)
        libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x4053f000)
        libm.so.6 => /lib/i686/libm.so.6 (0x405d4000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x405f6000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

# ldd SimpleTransform
        libxalan-c1_4_0.so => /usr/local/xml-xalan/lib/libxalan-c1_4_0.so
(0x40029000)
        libxerces-c.so.21 => /usr/local/lib/libxerces-c.so.21 (0x402b4000)
        libstdc++.so.4 => not found
        libm.so.6 => /lib/i686/libm.so.6 (0x4053f000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40561000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40568000)
        libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x4057d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)



--
Jiann-Ming Su  [EMAIL PROTECTED]  404-712-2603
Development Team Systems Administrator
General Libraries Systems Division




Reply via email to