Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now I need to install install Intel Fortran Compiler on my Linux system, the information about my system is:
Linux localhost.localdomain 2.6.18-53.el5xen #1 SMP Wed Oct 10 17:06:12 EDT 2007 i686 i686 i386 GNU/Linux
In the process of installation, an error always appeared:
**********************************************************************
--------------------------------------------------------------------------------
Intel(R) Fortran Compiler for applications running on IA-32, Version 10.1 (10.1.015)
Installing...
Installation failed.
--------------------------------------------------------------------------------
RPM std error output is as follows:
--------------------------------------------------------------------
error: Failed dependencies:
libstdc++.so.5 is needed by intel-ifort101015-10.1.015-1.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by intel-ifort101015-10.1.015-1.i386
--------------------------------------------------------------------
This failure occured using the following RPM options:
-U --replacefiles --force
--- WARNING ---
****************************************************************************
At first, there is no libstdc++.so.5, it is libstdc++.so.6 when install the Linux system, but after I install libstdc++.so.5, it still remind the same error as above.Please give me some suggestion about that, Thanks!
The RPM must be looking for the library in the wrong place if you installed it. How did you install it, and did you replace any links to libstdc++.so.6 with libstdc++.so.5?
The RPM must be looking for the library in the wrong place if you installed it. How did you install it, and did you replace any links to libstdc++.so.6 with libstdc++.so.5?
Thanks, I install it by this code:
rpm -ivh --nodeps libstdc++-3.2.2-5.i386.rpm
By the way, do you know how to check the links to libstdc++.so.6?
Intel does list: compat-libstdc++ providing libstdc++.so.5 as a system requirement - dunno if it makes a difference if you install compat-libstdc++ or libstdc++.so.5 directly.
Only experience I got is with the intel c compiler on gentoo and that uses libstdc++.so.6 - works w/o a hitch.
I was thinking of ldconfig, but you could also look to see if there are any other symlinks pointing to .6 that you at least temporarily change to .5; You didn't actually say what distro you're using - that might help someone else with experience in this particular case to help.
As already pointed out by crashmeister, you have to install the compat-libstdc++ package, not an old libstdc++ which can be not compatible with recent gcc and glibc.
Quote:
First, I download libstdc++-3.2.2-5.i386.rpm.
Second, I install it: rpm -ivh --nodeps libstdc++-3.2.2-5.i386.rpm
Better to use the package manager of your system to retrieve the proper package from the available repositories. If using RHEL, try up2date from the command line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.