Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-22-2008, 11:41 AM
|
#1
|
|
Member
Registered: Aug 2008
Posts: 31
Rep:
|
error when install Intel Fortran Compiler
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!
|
|
|
|
08-22-2008, 11:50 AM
|
#2
|
|
Senior Member
Registered: Jan 2008
Distribution: currently under revision
Posts: 1,235
Rep: 
|
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?
|
|
|
|
08-22-2008, 11:51 AM
|
#3
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,896
|
How did you install libstdc++.so.5? Which package? What is the output of the following command?
Code:
/sbin/ldconfig -p | grep libstd
this should tell you if the shared libraries cache has been updated after installing libstc++.so.5.
|
|
|
|
08-23-2008, 09:39 AM
|
#4
|
|
Member
Registered: Aug 2008
Posts: 31
Original Poster
Rep:
|
Quote:
Originally Posted by colucix
How did you install libstdc++.so.5? Which package? What is the output of the following command?
Code:
/sbin/ldconfig -p | grep libstd
this should tell you if the shared libraries cache has been updated after installing libstc++.so.5.
|
First, I download libstdc++-3.2.2-5.i386.rpm.
Second, I install it: rpm -ivh --nodeps libstdc++-3.2.2-5.i386.rpm
When I use the code:/sbin/ldconfig -p | grep libstd
[jing@localhost ~]$ /sbin/ldconfig -p | grep libstd
libstdc++.so.6 (libc6) => /usr/lib/libstdc++.so.6
libstdc++.so.5 (libc6) => /usr/lib/libstdc++.so.5
I am not sure whether the installation is successful.
|
|
|
|
08-23-2008, 10:00 AM
|
#5
|
|
Member
Registered: Aug 2008
Posts: 31
Original Poster
Rep:
|
Quote:
Originally Posted by mostlyharmless
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?
|
|
|
|
08-23-2008, 10:04 AM
|
#6
|
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
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.
|
|
|
|
08-26-2008, 10:24 AM
|
#7
|
|
Senior Member
Registered: Jan 2008
Distribution: currently under revision
Posts: 1,235
Rep: 
|
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.
|
|
|
|
08-27-2008, 04:54 AM
|
#8
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,896
|
Quote:
Originally Posted by lengyue
First, I download libstdc++-3.2.2-5.i386.rpm.
Second, I install it: rpm -ivh --nodeps libstdc++-3.2.2-5.i386.rpm
When I use the code:/sbin/ldconfig -p | grep libstd
[jing@localhost ~]$ /sbin/ldconfig -p | grep libstd
libstdc++.so.6 (libc6) => /usr/lib/libstdc++.so.6
libstdc++.so.5 (libc6) => /usr/lib/libstdc++.so.5
I am not sure whether the installation is successful.
|
It looks right. Have you tried to install ifort again?
|
|
|
|
08-27-2008, 10:21 AM
|
#9
|
|
Member
Registered: Aug 2008
Posts: 31
Original Poster
Rep:
|
Quote:
Originally Posted by colucix
It looks right. Have you tried to install ifort again?
|
I have tried to install IFORT again, but the same error is appeared. it is really a tough problem.
|
|
|
|
08-27-2008, 10:39 AM
|
#10
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,896
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|