on 06-21-2007 5:17 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
-> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.