Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2010, 06:56 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
help regarding intel fortran compiler

hey i have installed intel fortran compiler and also added the path in .bashrc file.

on giving a command to compile like ifort new.for it gives an error -

/Desktop$ ifort new.for
/opt/intel/Compiler/11.1/064/bin/ia32/fortcom: error while loading shared libraries: cannot open shared object file: No such file or directory
ifort: error #10273: Fatal error in /opt/intel/Compiler/11.1/064/bin/ia32/fortcom, terminated by 0x7f

well m not able to understand that... new to linux plz help
Old 07-24-2010, 07:12 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
Install You neglected to mention what distro you are running. Is it Ubuntu like your profile says? What version!? Try installing libstdc++5 (or ia32-libs if you're 64-bit).
Old 07-24-2010, 08:10 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,698

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
sudo apt-cache search libstdc++

sudo apt-get install libstdc++5

.. And if you have Ubuntu 9.10 or 10.04 :
Get an Ubuntu 9.04 package →
→ → Download libstdc++5
Old 07-24-2010, 09:34 AM   #4
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 729

Rep: Reputation: 75

A data point: compiling a simple "hi.for" code with ifort, and looking at the libraries required with ldd yields:
% ldd a.out =>  (0x00007fffffffe000) => /lib/ (0x00007f195b180000) => /lib/ (0x00007f195af64000) => /lib/ (0x00007f195ac11000) => /lib/ (0x00007f195a9fa000) => /lib/ (0x00007f195a7f6000)
	/lib64/ (0x00007f195b403000)
noting that no c++ library is required.

The same kind of code, hi.cpp, with g++:
% ldd a.out =>  (0x00007f7690818000) => /usr/lib/ (0x00007f76902f2000) => /lib/ (0x00007f769006f000) => /lib/ (0x00007f768fe58000) => /lib/ (0x00007f768fb05000)
	/lib64/ (0x00007f76905fe000)
suggests that you are using some c++ code. If so, you may need additional packages. If not, fine.

The compiler uses libraries:
% ldd /opt/intel/Compiler/11.1/056/bin/intel64/ifort =>  (0x00007fffffffe000) => /lib/ (0x00007faab5102000) => /lib/ (0x00007faab4ee6000) => /lib/ (0x00007faab4ccf000) => /lib/ (0x00007faab497c000) => /lib/ (0x00007faab4778000)
	/lib64/ (0x00007faab5385000)
The dependencies for stdc++ are:
% ldd /usr/lib/ =>  (0x00007fffffffe000) => /lib/ (0x00007fe801538000) => /lib/ (0x00007fe8011e5000)
	/lib64/ (0x00007fe801adb000) => /lib/ (0x00007fe800fcd000)
which appears OK to me.

However, our platforms differ somewhat. Mine is:
OS, ker|rel, machine: Linux, 2.6.26-2-amd64, x86_64
Distribution        : Debian GNU/Linux 5.0 
ifort (IFORT) 11.1 20090827
g++ (Debian 4.3.2-1.1) 4.3.2
Best wishes ... cheers, makyo

Last edited by makyo; 07-24-2010 at 09:47 AM.


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
intel fortran compiler on slackware64 13.0 cmk77 Slackware 5 11-18-2009 01:38 PM
error when install Intel Fortran Compiler lengyue Linux - Software 9 08-27-2008 10: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 > Forums > Linux Forums > Linux - Newbie

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

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