LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 08-22-2008, 11:41 AM   #1
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Rep: Reputation: 15
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!
 
Old 08-22-2008, 11:50 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.15.5
Posts: 1,527
Blog Entries: 12

Rep: Reputation: 170Reputation: 170
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?
 
Old 08-22-2008, 11:51 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,488

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
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.
 
Old 08-23-2008, 09:39 AM   #4
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by colucix View Post
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.
 
Old 08-23-2008, 10:00 AM   #5
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mostlyharmless View Post
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?
 
Old 08-23-2008, 10:04 AM   #6
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
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.
 
Old 08-26-2008, 10:24 AM   #7
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.15.5
Posts: 1,527
Blog Entries: 12

Rep: Reputation: 170Reputation: 170
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.
 
Old 08-27-2008, 04:54 AM   #8
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,488

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
Quote:
Originally Posted by lengyue View Post
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?
 
Old 08-27-2008, 10:21 AM   #9
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by colucix View Post
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.
 
Old 08-27-2008, 10:39 AM   #10
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,488

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error Linux Fortran compiler: libimf.so terrence Programming 6 06-15-2012 03:51 PM
g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77. TheBrick Linux - Software 3 07-04-2007 06:39 AM
how to uninstall the intel fortran compiler 8 ztdep Programming 5 07-22-2005 02:29 AM
Intel Fortran Compiler under KDevelop Ralph Kahel Linux - Software 1 07-21-2005 02:57 PM
Intel Fortran Compiler - glibc dependencies bad damien Linux - Software 1 12-02-2003 11:19 PM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration