cannot open shared libraries: libstdc++.so.6:
cannot open shared libraries: libstdc++.so.6:
Hi all,
after upgrading to HM 8.01 Beta my TextLog tests on a Linux system running RMA 1.25 fail with "RMA: Wrong command"
That means I have the following:
HM 8.01 Beta on Windows Server 2003 SP2
RMA for Linux 1.25 running on a Linux and should do a TextLog test on that system
This produces the error "RMA: Wrong command"
I have to say that I have very limited Linux knowledge.
So I tried to upgrade RMA to 1.26 (32 Bit)
When I try to start the rma manually or with YAST I get.
./rma: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I searched the forum and found some infos, but that didn't solve my problem, because it's not detailed enough for me.
I find /usr/lib/libstdc++.so.5.0.6 and a link libstdc++.so.5 pointing to that. But nothing for .so.6
I was pointed to install libstdc++ , but I don't know how to get that downloaded installed and running on my Linux box.
uname -a
Linux wersv090 2.6.5-7.97-smp #1 SMP Fri Jul 2 14:21:59 UTC 2004 i686 i686 i386 GNU/Linux
Many thanks for any help
Juergen
after upgrading to HM 8.01 Beta my TextLog tests on a Linux system running RMA 1.25 fail with "RMA: Wrong command"
That means I have the following:
HM 8.01 Beta on Windows Server 2003 SP2
RMA for Linux 1.25 running on a Linux and should do a TextLog test on that system
This produces the error "RMA: Wrong command"
I have to say that I have very limited Linux knowledge.
So I tried to upgrade RMA to 1.26 (32 Bit)
When I try to start the rma manually or with YAST I get.
./rma: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I searched the forum and found some infos, but that didn't solve my problem, because it's not detailed enough for me.
I find /usr/lib/libstdc++.so.5.0.6 and a link libstdc++.so.5 pointing to that. But nothing for .so.6
I was pointed to install libstdc++ , but I don't know how to get that downloaded installed and running on my Linux box.
uname -a
Linux wersv090 2.6.5-7.97-smp #1 SMP Fri Jul 2 14:21:59 UTC 2004 i686 i686 i386 GNU/Linux
Many thanks for any help
Juergen
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
I think, you may create a link libstdc++.so.5 -> libstdc++.so.6
It should work. If not, we can send you the source codes and you will be able to compile agent on your system directly.
Regards,
Max
Code: Select all
ln -s /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.6
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
I've got the sources now, but still have problems.
So my 3 questions are.
1) I used rma 1.25 on several Suse Systems without any problems. Why does 1.26 not work anymore ?
Beside that I found that I use:
cat /etc/*elease*
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
So I installed the following packages to get the library or a compiler to work
cpp-3.3.3-43.31.i586.rpm
gcc-3.3.3-43.31.i586.rpm
gcc-c++-3.3.3-43.31.i586.rpm
libstdc++-3.3.3-43.31.i586.rpm
libstdc++-devel-3.3.3-43.31.i586.rpm
make-3.80-184.i586.rpm
2) When I nativly try to run rma I get:
wersv090:/usr/sbin/rma.126 # ./rma rma.ini
./rma: /usr/lib/libstdc++.so.6: no version information available (required by ./rma)
Floating point exception
3) When I try to compile the sources, I get:
wersv090:/usr/sbin/rma # make
g++ -c -o globals.o globals.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
In file included from globals.cpp:18:
/usr/include/pthread.h:163: error: syntax error before `__thread'
/usr/include/pthread.h:165: error: `pthread_create' declared as function
returning a function
/usr/include/pthread.h:166: error: syntax error before `void'
/usr/include/pthread.h:586: error: storage class specifiers invalid in
parameter declarations
/usr/include/pthread.h:586: error: storage class specified for parameter `
parameter'
In file included from /usr/include/pthread.h:650,
from globals.cpp:18:
/usr/include/bits/sigthread.h:36: error: storage class specifiers invalid in
parameter declarations
/usr/include/bits/sigthread.h:36: error: storage class specified for parameter
`parameter'
make: *** [globals.o] Error 1
I'm very sorry for creating so much trouble, but I'm not the Linux expert.
So any help is appriciated.
Juergen
So my 3 questions are.
1) I used rma 1.25 on several Suse Systems without any problems. Why does 1.26 not work anymore ?
Beside that I found that I use:
cat /etc/*elease*
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
So I installed the following packages to get the library or a compiler to work
cpp-3.3.3-43.31.i586.rpm
gcc-3.3.3-43.31.i586.rpm
gcc-c++-3.3.3-43.31.i586.rpm
libstdc++-3.3.3-43.31.i586.rpm
libstdc++-devel-3.3.3-43.31.i586.rpm
make-3.80-184.i586.rpm
2) When I nativly try to run rma I get:
wersv090:/usr/sbin/rma.126 # ./rma rma.ini
./rma: /usr/lib/libstdc++.so.6: no version information available (required by ./rma)
Floating point exception
3) When I try to compile the sources, I get:
wersv090:/usr/sbin/rma # make
g++ -c -o globals.o globals.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
In file included from globals.cpp:18:
/usr/include/pthread.h:163: error: syntax error before `__thread'
/usr/include/pthread.h:165: error: `pthread_create' declared as function
returning a function
/usr/include/pthread.h:166: error: syntax error before `void'
/usr/include/pthread.h:586: error: storage class specifiers invalid in
parameter declarations
/usr/include/pthread.h:586: error: storage class specified for parameter `
parameter'
In file included from /usr/include/pthread.h:650,
from globals.cpp:18:
/usr/include/bits/sigthread.h:36: error: storage class specifiers invalid in
parameter declarations
/usr/include/bits/sigthread.h:36: error: storage class specified for parameter
`parameter'
make: *** [globals.o] Error 1
I'm very sorry for creating so much trouble, but I'm not the Linux expert.
So any help is appriciated.
Juergen
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Hello,I have get the same problem...
My OS is Red Hat Enterprise Linux ES release 3 (Taroon Update 9)[64bit]
I download RMA 1.28 for Linux (x86-64).
After I configure rma.ini,
[code]
#./rma -d ./rma.ini
./rma: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
# ln -s /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.6
# ./rma -d ./rma.ini
./rma: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[/code]
Where to download older rma unix version.Or KS-Soft can help me.
Thanks a lot!
My OS is Red Hat Enterprise Linux ES release 3 (Taroon Update 9)[64bit]
I download RMA 1.28 for Linux (x86-64).
After I configure rma.ini,
[code]
#./rma -d ./rma.ini
./rma: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
# ln -s /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.6
# ./rma -d ./rma.ini
./rma: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[/code]
Where to download older rma unix version.Or KS-Soft can help me.
Thanks a lot!
Older RMA was designed to work with older HostMonitor, it may not work correctly with latest version of HostMonitor.Where to download older rma unix version.
What version of HostMonitor do you use?
Another question is - do you have libstdc++ library installed (just older version) or you do not have this library at all?
If you do not have it, you should install it.
If you have older version then you may update libraries or try another version of the agent that should work with version 5 of libstdc++
http://www.hostmonitor.biz/download/rma ... s9_x86.tgz
Regards
Alex
I have installed libstdc++ 5 and HostMonitor 6.80.
After use
http://www.hostmonitor.biz/download/rma ... s9_x86.tgz
I get little confuse why rhel3update9 to use sles9 agent.
Anyway it works fine !
Thank you very much,alex.
Regards
ybydjjz
After use
http://www.hostmonitor.biz/download/rma ... s9_x86.tgz
I get little confuse why rhel3update9 to use sles9 agent.
Anyway it works fine !
Thank you very much,alex.

Regards
ybydjjz