General
cancel
Showing results for 
Search instead for 
Did you mean: 

libstdc++ error when trying to install ESM

Gregory Lee
Advisor

libstdc++ error when trying to install ESM

Trying to install ESM Linux agent on my Redhat 7.1 box but I'm encountering libstdc++ errors:

[root@esm]# ./esmsetup
./esmsetup: error while loading shared libraries: libstdc++-libc6.1-1.so.2:
cannot load shared object file: No such file or directory

[root@esm]# rpm -q libstdc++
libstdc++-2.96-81

[root@esm]# rpm -ql libstdc++
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/lib/libstdc++-libc6.2-2.so.3

[root@esm]# file esmsetup
esmsetup: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped


Did a search on rpmfind and found out that the library it is looking for (libstdc++-libc6.1-1.so.2) is actually for Mandrake 8.2

Does that mean the executable was compiled using the libs from Mandrake? Is there anyway I can get it to run on my RedHat box using the stock version of the libraries?

I tried to link the file it was asking for to the file that was on my box, but no go.
If you're not living on the edge, you're taking up too much space! Anonymous
1 REPLY
Stuart Browne
Honored Contributor

Re: libstdc++ error when trying to install ESM

Nope. What you're looking for is the RPM:

compat-libstd++

The RH 6.1 media has it (called 'compat-libstd++-6.2-2.9.0.14.rpm') and you should be able to install it from there.
One long-haired git at your service...