Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28996 Discussions

libstdc++.so.5 is missing...openSuse 11.1 64-bit

maldmm5
Beginner
2,111 Views
Hi there,

I am trying to install the intel fortran compiler for linux version 11.1 on a suse 11.1 machine. This is my uname -a gives:
Linux linux-3pe2 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

The error the installation gives is:

Step no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
--------------------------------------------------------------------------------
The following required for installation commands are missing:
libstdc++.so.5 (library)

I did a whereis libstdc++.so.5 and this is what was given:
libstdc++.so: /usr/lib/libstdc++.so.6 /usr/lib64/libstdc++.so.5 /usr/lib64/libstdc++.so.6

I dont understand why the installation does not see where the files are. How to get the installation route to the right directory either x86 or x64?

Please help to solve this problem. Someone must have come across this.

Thanks
Mald

0 Kudos
11 Replies
inkant
Novice
2,111 Views
Quoting - maldmm5
Hi there,

I am trying to install the intel fortran compiler for linux version 11.1 on a suse 11.1 machine. This is my uname -a gives:
Linux linux-3pe2 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

The error the installation gives is:

Step no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
--------------------------------------------------------------------------------
The following required for installation commands are missing:
libstdc++.so.5 (library)

I did a whereis libstdc++.so.5 and this is what was given:
libstdc++.so: /usr/lib/libstdc++.so.6 /usr/lib64/libstdc++.so.5 /usr/lib64/libstdc++.so.6

I dont understand why the installation does not see where the files are. How to get the installation route to the right directory either x86 or x64?

Please help to solve this problem. Someone must have come across this.

Thanks
Mald

Hi Mald,

uname -a gives x86_64 .. That means you are installing for Intel (64). I am assuming that the version you are installing is the correct one (not IA 64 !).
I think that just appending this directory in your PATh variable might work.
you can try
export PATH=/usr/lib64:$PATH (since it is there in /usr/lib64)

if it works then include it into you login profile like .bashrc or .bash_profile or whichever shell you are using.
0 Kudos
TimP
Honored Contributor III
2,111 Views
If you wish to install the ia32 (32-bit) ifort, a working installation of g++ -m32 (32-bit) is required, including /usr/lib/libstdc++.so.5. One of the reasons for providing the native intel64 compiler in 11.x is to support installation with only a working installation of g++ -m64.
If you would be clearer on what you are trying to do, you may get better answers.
I was going to install openSuSE 11.1 on my own company-owned platform, but found that it has been locked down to 32-bit Windows after a semi-successful attack against the McAfee. Yes, let's restrict people to the vulnerable OS.
OpenSuSE isn't tested during development of Intel compilers, and it seems to have been dropped from internal Intel mirrors. So, although it's an excellent choice, you take your chances with ifort.
0 Kudos
maldmm5
Beginner
2,111 Views
Quoting - inkant
Hi Mald,

uname -a gives x86_64 .. That means you are installing for Intel (64). I am assuming that the version you are installing is the correct one (not IA 64 !).
I think that just appending this directory in your PATh variable might work.
you can try
export PATH=/usr/lib64:$PATH (since it is there in /usr/lib64)

if it works then include it into you login profile like .bashrc or .bash_profile or whichever shell you are using.

Hi there...
Thanks for the reply. What do you mean " I am assuming that the version you are installing is the correct one (not IA 64 !)"...I just kicked off the installation script and let it choose ( I assume it will choose the 64-bit version)..

I added the path and had no luck...any more ideas?...

Thanks

0 Kudos
TimP
Honored Contributor III
2,111 Views
If you wish to install everything from the combined 32-bit and Intel64 installer package, you must first install full g++ development support for both -m32 and -m64. There is an option to install individual packages, so you could install the intel64 compiler with only the g++ -m64.
You will have to accept an unsupported installation, with the installer not diagnosing the prerequisites correctly.
As hinted in the other reply, you will not be able to install the IA64 (Itanium) compiler.
Installation for OpenSuSE 11.1 should be mostly similar to FC11, so you might take some hints from Ron's post at the top of the forum, as well as checking the installation notes, if you don't care to explain more precisely what you are doing.
0 Kudos
fritzra
Beginner
2,111 Views
Quoting - tim18
If you wish to install everything from the combined 32-bit and Intel64 installer package, you must first install full g++ development support for both -m32 and -m64. There is an option to install individual packages, so you could install the intel64 compiler with only the g++ -m64.
You will have to accept an unsupported installation, with the installer not diagnosing the prerequisites correctly.
As hinted in the other reply, you will not be able to install the IA64 (Itanium) compiler.
Installation for OpenSuSE 11.1 should be mostly similar to FC11, so you might take some hints from Ron's post at the top of the forum, as well as checking the installation notes, if you don't care to explain more precisely what you are doing.

Hi,
I'm just experiencing the same situation described at the top of this thread on my 32-bit openSuse 11.1.
And I'm pretty new to intel compiler and openSuse and linuxOS also...

I've installed the intel compiler once. This installation finally didnt work, that means that I got this "libstdc++.so.5 is missing" while compiling.
So I'm trying to reinstall the compiler package.
Because in the last installation I had to install g++, which I first could not find in Yast til I installed gcc 4.3.2, I now get while my second installation run some missing optional pre-requisites:

-cannot determine operating system type

-system glibc or kernel version not supported or not detectable
(glibc 2.9 is installed!)

-binutils version not supported or not detectable
(binutils 2.19 is installed!)

As a possible pre requisite I installed also jre 1.6 but I'm not sure what to do.

Can I just skip these missing optionals?
What did I do wrong? What did I forget?

Thanks very much. I'm trying to be concrete!

Rafael


0 Kudos
TimP
Honored Contributor III
2,111 Views
Yes, it will complain about the glibc version, as that version hasn't been included in the ifort testing.
The complaint about binutils is a bug in the installer; it will never detect binutils when it doesn't find a supported distro. I have re-opened a bug report on that (Q486896). The compiler will still find the binutils in actual operation, provided that it is on the g++ path and works with g++.
You must elect to skip the prerequisites, on the reasonable assumption that your glibc will work, and knowing that binutils 2.19 is suitable.
The Sun jre (32-bit, as you have the 32-bit OS) will be needed for the idb (gui debugger) installation.
Apparently, with the increasing demand for Fedora and Ubuntu support, the resources for full support of OpenSuSE aren't available. Fortunately, OpenSuSE, as it should conform with LSB, should not require anything different from Fedora.
0 Kudos
maldmm5
Beginner
2,111 Views
Quoting - tim18
If you wish to install everything from the combined 32-bit and Intel64 installer package, you must first install full g++ development support for both -m32 and -m64. There is an option to install individual packages, so you could install the intel64 compiler with only the g++ -m64.
You will have to accept an unsupported installation, with the installer not diagnosing the prerequisites correctly.
As hinted in the other reply, you will not be able to install the IA64 (Itanium) compiler.
Installation for OpenSuSE 11.1 should be mostly similar to FC11, so you might take some hints from Ron's post at the top of the forum, as well as checking the installation notes, if you don't care to explain more precisely what you are doing.

Hi there,

Thanks for the help...I will try to be more precise...Am sorry I am new to this and thanks for your patience.

I am trying this on a Intel Core 2 Duo processor T8100 2.1 GHz. I am trying to install this intel FC 11.1 on openSuse 11.1 x86_x64 as you have seen in my uname -a (from previous post). I actually dont want the 32bit to be installed but to install only theFC 64bit compiler. When the installation was executed, it was showing a IA64 and an Intel 64. How do I determine if its IA versions or the Intel versions? I thought both are 64bit versions.

When I tried the installation, it keeps on saying that libstdc++.so.5 is missing where this file is actually there. And I tried changing the path as you mentioned and still it gives the same error.

Now I will give a try after installing the m64 packages and see how it goes.

Am I still not explainig something or something is missing where you could help me more?...

Cheers

0 Kudos
inkant
Novice
2,111 Views
Quoting - maldmm5

Hi there,

Thanks for the help...I will try to be more precise...Am sorry I am new to this and thanks for your patience.

I am trying this on a Intel Core 2 Duo processor T8100 2.1 GHz. I am trying to install this intel FC 11.1 on openSuse 11.1 x86_x64 as you have seen in my uname -a (from previous post). I actually dont want the 32bit to be installed but to install only theFC 64bit compiler. When the installation was executed, it was showing a IA64 and an Intel 64. How do I determine if its IA versions or the Intel versions? I thought both are 64bit versions.

When I tried the installation, it keeps on saying that libstdc++.so.5 is missing where this file is actually there. And I tried changing the path as you mentioned and still it gives the same error.

Now I will give a try after installing the m64 packages and see how it goes.

Am I still not explainig something or something is missing where you could help me more?...

Cheers

Hi Mald,

IA64 is specifically for ITANIUM processors by intel as one of the posts above mentions.
You would want to install Intel (64) version compiler, as I see that you have 64 bit libraries.

Also menstioned that the library is there but it is not being detected.
Go to /usr --
cd /usr
find . -namelibstdc++.so.5 - print
Confirm that you have it.
Then create a soft link by
"ln -s /usr/lib64/libstdc++.so.5 /usr/lib/libstdc++.so.5"
It may help.

Inkant


0 Kudos
Ron_Green
Moderator
2,111 Views
Quoting - inkant
Hi Mald,

IA64 is specifically for ITANIUM processors by intel as one of the posts above mentions.
You would want to install Intel (64) version compiler, as I see that you have 64 bit libraries.

Also menstioned that the library is there but it is not being detected.
Go to /usr --
cd /usr
find . -namelibstdc++.so.5 - print
Confirm that you have it.
Then create a soft link by
"ln -s /usr/lib64/libstdc++.so.5 /usr/lib/libstdc++.so.5"
It may help.

Inkant



Well I haven't fully got this worked out - Intel Fortran on OpenSUSE 11.1, but I have downloaded and installed and have made SOME progress.

These steps will get 64bit compilation working. I'm still working on 32bit, but I may have to remove gcc 4.3 from the system to do so. Here are the steps for 64bit:

first, uninstall anything you have: /opt/intel/ompiler/11.1/046/bin/intel64/uninstall.sh

Next:

Become root user (login as root OR 'sudo bash'). Then

yast2 (brings up the graphical admin tool)
"Run Software Manager"
set "Filter" equal to "Patterns"
scroll the left-hand "Patterns" to the section titled "Development"
Select patterns "Base Development" and "C/C++ Development". Install these packages.
Next, make sure binutils got installed (it should have but check with 'rpm -qa | grep binutils' ) Install if necessary

Next, several compatibility libs:

zypper install libstdc++33
zypper install libstdc++33-32bit
zypper install gcc33
zypper install gcc33-32bit


Now reinstall the Intel compiler. You can 'source /ifortvars.sh intel64' and this should work for 64bit builds/runs. As I said, the 32 bit builds and runs are a problem that I have yet to solve. I'll get to that tomorrow and once I've got it all figured out I'll write up a detailed installation procedure. I am seeing gcc4.3 getting in the way of the library search paths. I hope to find a solution other than uninstalling gcc4.3 and reverting back to gcc 3.3.

OR you can switch to Ubuntu ;)

ron
0 Kudos
TimP
Honored Contributor III
2,111 Views
I never had a problem installing ifort along with g++ 4.3 on OpenSuSE. Admittedly, the newest gnu compilers against which Intel compilers are fully tested are those in the supported Fedora versions. icpc could run into some difficulties with certain g++ 4.3 headers, but that doesn't affect ifort, and it should be less of a problem with 11.1. Unfortunately, my OpenSuSE got eliminated by the new tighter 32-bit Windows lockdown rules here.
0 Kudos
Ron_Green
Moderator
2,111 Views

Well I haven't fully got this worked out - Intel Fortran on OpenSUSE 11.1, but I have downloaded and installed and have made SOME progress.

These steps will get 64bit compilation working. I'm still working on 32bit, but I may have to remove gcc 4.3 from the system to do so. Here are the steps for 64bit:

first, uninstall anything you have: /opt/intel/ompiler/11.1/046/bin/intel64/uninstall.sh

Next:

Become root user (login as root OR 'sudo bash'). Then

yast2 (brings up the graphical admin tool)
"Run Software Manager"
set "Filter" equal to "Patterns"
scroll the left-hand "Patterns" to the section titled "Development"
Select patterns "Base Development" and "C/C++ Development". Install these packages.
Next, make sure binutils got installed (it should have but check with 'rpm -qa | grep binutils' ) Install if necessary

Next, several compatibility libs:

zypper install libstdc++33
zypper install libstdc++33-32bit
zypper install gcc33
zypper install gcc33-32bit


Now reinstall the Intel compiler. You can 'source /ifortvars.sh intel64' and this should work for 64bit builds/runs. As I said, the 32 bit builds and runs are a problem that I have yet to solve. I'll get to that tomorrow and once I've got it all figured out I'll write up a detailed installation procedure. I am seeing gcc4.3 getting in the way of the library search paths. I hope to find a solution other than uninstalling gcc4.3 and reverting back to gcc 3.3.

OR you can switch to Ubuntu ;)

ron

To get 32bit compilation to work a symbolic link change is needed. In /usr/bin/gcc is a link to gcc-4.3 by default. Setting this to gcc 3.3 loaded above works. As root:

rm /usr/bin/gcc
ln -s /usr/bin/gcc-3.3 /usr/bin/gcc

This is NOT needed for 64bit compilation.

I'll get these notes written up into a knowledge base article.

ron
0 Kudos
Reply