Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No s
ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No s [message #125768] Sun, 09 March 2008 09:22 Go to next message
David Wynter is currently offline David Wynter
Messages: 4518
Registered: July 2009
Senior Member
Hi,

I have successfully installed and used Agent Controller standalone on
W2003 Server. But am trying to do so on Linux (Centos 4.3 64 bit).

I am using JDK 1.5.0_15. and the latest Agent Controller.

I get
ACServer: error while loading shared libraries: libstdc++.so.5: cannot
open shared object file: No such file or directory

I checked and libstdc++.so.5 is in /usr/lib so not sure why it would not
open it. I am running as root.

Advice on next step?

David
Re: ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: [message #125975 is a reply to message #125768] Tue, 11 March 2008 05:04 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Hi David,
Please look at the related bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=216954
Regards,
Igor
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 12:07 Go to previous messageGo to next message
David Wynter is currently offline David Wynter
Messages: 4518
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
Re: ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: [message #126472 is a reply to message #126378] Mon, 17 March 2008 03:47 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Regarding "JAXP error": to resolve it just start Agent Controller from the
$TPTP_AC_HOME/bin directory (/opt/tptpAC/bin in your case).
Re: ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: [message #126711 is a reply to message #126472] Tue, 18 March 2008 09:38 Go to previous message
David Wynter is currently offline David Wynter
Messages: 4518
Registered: July 2009
Senior Member
Hi,

That fixed the SetConfig.sh error, thanks. But I still cannot run ACServer

I get

[root@web1 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.

But the output of ls -l in /opt/tptpAC/lib shows it is linked?

lrwxrwxrwx 1 root root 23 Mar 18 13:37 libstdc++.so.5 ->
/usr/lib/libstdc++.so.5

What am I misunderstanding here?

David


Igor Alelekov wrote:
> Regarding "JAXP error": to resolve it just start Agent Controller from
> the $TPTP_AC_HOME/bin directory (/opt/tptpAC/bin in your case).
>
Previous Topic:newbie: TPTP cannot find agents
Next Topic:How to profile a webapp startup?
Goto Forum:
  


Current Time: Wed Apr 16 18:53:26 EDT 2014

Powered by FUDForum. Page generated in 0.02207 seconds