|
|
Re: ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: [message #126378 is a reply to message #125975] |
Thu, 13 March 2008 16:07 |
David Wynter Messages: 4624 Registered: July 2009 |
Senior Member |
|
|
Igor Alelekov wrote:
> Hi David,
> Please look at the related bugzilla
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=216954
> Regards,
> Igor
>
Hi,
I tried the symlink, here is part of ls -l
lrwxrwxrwx 1 root root 23 Mar 13 15:23 libstdc++.so.5 ->
/usr/lib/libstdc++.so.5
But ldd gives me
# ldd /opt/tptpAC//bin/ACServer
libtptpUtils.so.4 => /opt/tptpAC/lib/libtptpUtils.so.4
(0x0000002a95557000)
libtptpLogUtils.so.4 => /opt/tptpAC/lib/libtptpLogUtils.so.4
(0x0000002a9566d000)
libtptpConfig.so.4 => /opt/tptpAC/lib/libtptpConfig.so.4
(0x0000002a95770000)
libprocessControlUtil.so.4 =>
/opt/tptpAC/lib/libprocessControlUtil.so.4 (0x0000002a95881000)
libxerces-c.so.26 => /opt/tptpAC/lib/libxerces-c.so.26
(0x0000002a95987000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000003685100000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000003684400000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003684700000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003684900000)
libstdc++.so.5 => not found
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a95e16000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003688b00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003684200000)
It still cannot find it, my Linux is not great but it said one of the
options is a symliunk in the bug report.
I found a further suggestion in a thread in this forum to link
libstdc++-libc6.2.2.so.3 tolibstdc++.so.5 but that gave this error
# /opt/tptpAC/bin/ACStart.sh
Starting Agent Controller.
ACServer: error while loading shared libraries: libstdc++.so.5: cannot
open shared object file: No such file or directory
ACServer failed to start.
Another weird thing. I have jdk 1.5.0_15 AMD64, Centos 4.3 and when I
run SetConfig.sh I get
# /opt/tptpAC/bin/SetConfig.sh
ERROR: The Java Runtime in use does not contain a suitable JAXP feature
RESOLUTION: Use a JRE which supports the JAXP feature
From my reading of other threads, jdk1.5.0_15 should be a version that
works.
# java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_15-b04, mixed mode)
thx.
David
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02637 seconds