cancel
Showing results for 
Search instead for 
Did you mean: 

Error while running sapinst

Former Member
0 Kudos

Hi,

I am trying to run sapinst in Linux. I am getting following error

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

Pls let me know the cause of the issue

regards,

Sujesh

Accepted Solutions (1)

Accepted Solutions (1)

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Sujesh

in case you have:

<b>SLES10:</b>

please install package: <u>compat-libstdc++-5.0.7</u>

<b>RHEL5:</b>

please install package: <u>compat-libstdc++-33-3.2.3</u>

Best Regards,

Hannes Kuehnemund

SAP LinuxLab

Former Member
0 Kudos

Thanks Hennes for the reply. Can you please let me know what are these packages?

regards,

Sujesh

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Sujesh,

these packages are needed for compatibility with software that was compiled a while ago. When compiling software on SLES9 for example, libstdc+-3.3 is used. On SLES10 you have libstdc+4.1, which is not compatible with the older one, thus you have to install the compatibility libraries to make sure the software runs.

Please find the packages here:

<b>SLES10:</b>

On the SLES10 DVD in the folder suse/x86_64/compat-libstdc+-5.0.7-22.2.x86_64.rpm, or when you have the CD's on CD No.1 here: suse/x86_64/compat-libstdc+-5.0.7-22.2.x86_64.rpm.

If you have setup online repositories, you can install these packages using yast2 -> software ->software management

<b>RHEL5:</b>

On RHEL5 you find the package on CD No.3 in the path: Server/compat-libstdc++-33-3.2.3-61.x86_64.rpm.

If you have access to the Red Hat Network (RHN) simply use yum to install it: 'yum install compat-libstdc++-33'

Best Regards,

Hannes Kuehnemund

SAP LinuxLab

Former Member
0 Kudos

Thank you Hannes. It is working now

regards,

Sujesh

Answers (1)

Answers (1)

andreas_herzog
Active Contributor
0 Kudos

-> which sap release you're trying to install?

-> which database are you on?

-> which linux are you on?

-> which were the steps you took?

-> java installed properly?

-> environment is set?

GreetZ, AH

Former Member
0 Kudos

Hi,

iam installing NW2004S . We have installed Oracle 10g and jdk1.4.2_14.

Iam trying to run ./sapinst in linux terminal

regards,

Sujesh

Former Member
0 Kudos

Hi Sujesh,

maybe there are missing some rpms in your installation. On SLES9 SP3, libstdc+.so is contained in libstdc+-3.3.3-43.41.

You can check with "rpm -qa | grep libstdc+" which libstdc+ packages are installed.

BTW:

<i>> [...] We have installed Oracle 10g[...]</i>

Did you really install the Oracle Software before running sapinst the first time? This won't work, as Oracle will be installed as user ora<sid>, which is created by sapinst.

Best regards,

Elmar.

Former Member
0 Kudos

Yes. We have installed oracle10.2 before starting sapinst installation. Is it possible to install NW on the top of existing database?

20004s in windows platform allows it. pls let me know

regards,

Sujesh