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 Jiann-Ming Su <js...@emory.edu> on 2002/11/01 16:38:12 UTC
Re: sample execution problme (addendum)
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 jsu2@emory.edu 404-712-2603
Development Team Systems Administrator
General Libraries Systems Division
Re: sample execution problme (addendum)
Posted by Jiann-Ming Su <js...@emory.edu>.
On Fri, 1 Nov 2002, David N Bertoni/Cambridge/IBM wrote:
>
> 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:
>
Okay, figured out what my problem was. First it was not setting the XALANCROOT
properly. I left off the "c" subdirectory. I was able to build the
binaries, but not the samples. So, I ended up downloading the binaries, which
I forgot I had done. They were obviously built with gcc3.1. Anyway,
I set the XALANCROOT properly (/usr/local/xml-xalan/c) and was able to build
everything. I don't think it was ever made particularly clear in the docs
what the XALANCROOT was suppose to be.
BTW, the source distribution doesn't contain the html docs.
--
Jiann-Ming Su jsu2@emory.edu 404-712-2603
Development Team Systems Administrator
General Libraries Systems Division
Re: sample execution problme (addendum)
Posted by David N Bertoni/Cambridge/IBM <da...@us.ibm.com>.
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:
[xalan@dbertoni-rh72 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
<js...@emory.edu> To: David N Bertoni/Cambridge/IBM <da...@us.ibm.com>
cc: xalan-c-users@xml.apache.org
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 jsu2@emory.edu 404-712-2603
Development Team Systems Administrator
General Libraries Systems Division