rhel 7, where is libstdc++.so.5?
I'm getting an error from vendor firmware updater on rhel7:
./arcconf: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
I believe this used to be compat-libstdc++ but I can't find it with yum... Anyone know where it's gone or how to use the vendor program?
Responses
When I get errors like this, I run:
yum whatprovides */libstdc++.so.5
compat-libstdc++-33-3.2.3-71.el7.x86_64 : Compatibility standard C++ libraries
Repo : rhel-x86_64-server-optional-7
Matched from:
Filename : /usr/lib64/libstdc++.so.5
So the repo here is key and probably means you did not subscribe your system to the optional channel?
This should include the caveat that the host must have Internet access and be connected to RHN.
Alternatively, if your host is receiving updates from an internal Satellite server you will need to configure the Satellite server to sync the 'Optional' channel so that your host can then subscribe to this channel.
The package itself can be downloaded from here, but it may well need dependencies from the Optional channel.
I have found it in the following location.
https://access.redhat.com/downloads/content/69/ver=/rhel---7/7.0/x86_64/product-downloads
Thanks
Also I need help to find out compat-libstdc++-33-3.2.3-71.el7.i686.rpm , can you please provide me the download location .
Hello Everyone,
The package "compat-libstdc++-33-3.2.3-71.el7.i686" as mentioned in the previous comments is present in the "rhel-7-server-optional-rpms/7Server/x86_64".
To add this repository to your list, we can run the below command... [root@RHEL7 ~]# subscription-manager repos --enable=rhel-7-server-optional-rpms Repo 'rhel-7-server-optional-rpms' is enabled for this system.
Then execute the command "yum install compat-libstdc++-33-3.2.3-71.el7.i686"
This is very helpful. When I received the error about libstdc++.so.5, I simply executed "yum install libstdc++.so.5".
This installed compat-libstdc++-33-3.2.3-72.el7.i686 ( which is only the 32-bit version of the package).
Then I executed yum install compat-libstdc++-33-3.2.3-72.el7.x86_64 ( that installed the 64-bit version) and my error about libstdc++.so.5 was resolved.
$ls -lrt /usr/lib64/libstdc*
-rwxr-xr-x. 1 root root 830776 Nov 13 2014 /usr/lib64/libstdc++.so.5.0.7
-rwxr-xr-x. 1 root root 995840 Aug 31 16:37 /usr/lib64/libstdc++.so.6.0.19
lrwxrwxrwx. 1 root root 19 Jan 10 14:18 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.19
lrwxrwxrwx. 1 root root 18 Jan 12 14:38 /usr/lib64/libstdc++.so.5 -> libstdc++.so.5.0.7
$ls -lrt /usr/lib/libstdc*
-rwxr-xr-x. 1 root root 739520 Nov 13 2014 /usr/lib/libstdc++.so.5.0.7
lrwxrwxrwx. 1 root root 18 Jan 12 11:57 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
$
This KB might be of assistance. How can we regularly update a disconnected system (A system without internet connection)?
Hello All, Adding some information regarding a different software installation on RHEL 7 (x86_64) with [compat-libstdc++-33-3.2.3-x86_64] prerequisite. I hope that this helps.
In my case, I kept seeing a prerequisite failure while installing the following Oracle Products on RHEL 7.3 (x86_64) Oracle Fusion Middleware 11g [SOA 11.1.1.9.0] Oracle Fusion Middleware 11g [OIM 11.1.2.3.0] Oracle Fusion Middleware 11g [Web Tier 11.1.1.9.0]
All three GUI installers reported the same prerequisite failure: [Checking for compat-libstdc++-33-3.2.3-x86_64; Not found. Failed <<<<]
If your RHEL 7 systems are reporting to an internal Red Hat Satellite Server, like my organization, then you need to make sure the internal Satellite Server synchronizes the channel [rhel-x86_64-server-optional-7].
The command, on the internal Satellite Server (v5.6) would be:
satellite-sync -c rhel-x86_64-server-optional-7Once the Channel sync process is complete, have your RHEL 7 host(s) subscribe to the new channel. When done, you should be able to install the package (and any dependencies it may have).
Note: As of 26-JUL-2017, the [rhel-x86_64-server-optional-7] repo has [11095] packages. If you have not synchronized this channel from the Red Hat Content Delivery Network (CDN) before, it will take a long time (depending on your Internet connection). You may also want to verify you have enough disk space on your Satellite Server before you attempt the sync process/command. This method may be overkill if you only need one package out of the [11095] packages in the channel. As always, use your judgement.
Thanks!
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
