cancel
Showing results for 
Search instead for 
Did you mean: 

Library error when starting sapinst

Former Member
0 Kudos

Hi,

Am using RHEL5 and planning to install SCM 5.1 on it.

When starting the sapinst i faced the below error:

<i>./sapinst: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory</i>

Bit i have checked the library libstdc++.so.6. is already available in /usr/lib. Also the permissions are available:

<i>-rwxr-xr-x 1 root root 936908 Jul 11 2007 libstdc++.so.6.0.8

lrwxrwxrwx 1 root root 18 Jun 27 00:02 libstdc+.so.6 -> libstdc+.so.6.0.8</i>

Kindly suggest.

Regards,

Chintan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

libstdc+.so.6 is version higher to libstdc+.so.5.

So what is required is compat-libstdc++ rpm package to be installed. Applying the same will solve the problem.

Regards,

Naveen

Edited by: Naveen Garg on Jul 2, 2008 11:36 AM

Former Member
0 Kudos

Hi,

libstdc+.so.6 is version higher to libstdc+.so.5.

So what was required was compat-libstdc++ rpm package to be installed. Applying the same solved my problem.

Regards,

Chintan

Former Member
0 Kudos

Hello. "error while loading shared libraries: libstdc++.so.5"

And you say about "libstdc++.so.6" 5 and 6 is not same.

Read Note 1191732 - Error while loading shared libraries: libstdc++.so.5 - Linux

regards.