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

Anticipating proglem with Ubuntu 9.10

eliosh
Beginner
3,930 Views
As far as I know, in the forthcoming release of Ubuntu (9.10) they dropped support for libstdc++ which is still required by Intel compilers
0 Kudos
25 Replies
Ron_Green
Moderator
1,002 Views

If the computer did not have internet access, how did the 'wget' command succeed? Did you do the wget on an internet connected computer and then bring over the package to the target system?

In my article http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/ I used apt-get instead of wget. But wget does have the advantage of fully specifying the source URL.

Thanks for the pointer to the web article.

ron

0 Kudos
TimP
Honored Contributor III
1,002 Views
If you mean that libstdc++.so.5 is no longer installed unless specifically requested, that's believable. If you mean that Ubuntu is dropping support for g++, not.
0 Kudos
opelx
Beginner
1,002 Views
Hi,
I did follow the instruction on this web page but I run tinto problems on 64-bit:

icpc --help runs, but on compile it calls mcpcom:

/opt/intel/Compiler/11.1/072/bin/intel64/mcpcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

OK, looking here:

$ ls -la /usr/lib32/libstdc++.so.5*
lrwxrwxrwx 1 root root 18 2010-05-03 16:14 /usr/lib32/libstdc++.so.5 -> libstdc++.so.5.0.7
-rw-r--r-- 1 root root 737112 2010-04-30 18:02 /usr/lib32/libstdc++.so.5.0.7

All there as described on web, anyway:

$ strace /opt/intel/Compiler/11.1/072/bin/intel64/mcpcom 2>&1 | grep libstdc++.so.5
open("/opt/intel/Compiler/11.1/072/lib/intel64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/intel/Compiler/11.1/072/ipp/em64t/sharedlib/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/intel/Compiler/11.1/072/mkl/lib/em64t/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/intel/Compiler/11.1/072/tbb/intel64/cc4.1.0_libc2.4_kernel2.6.16.21/lib/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
writev(2, [{"/opt/intel/Compiler/11.1/072/bin"..., 47}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libstdc++.so.5", 14}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10/opt/intel/Compiler/11.1/072/bin/intel64/mcpcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

So it doesn't look into /usr/lib32 any more. What happens here?

Thanks,
opelx
0 Kudos
John4
Valued Contributor I
1,002 Views

For 64-bits, you need to install the 32-bit AND the 64-bit versions of the library. to get a copy of the .deb packages for both libraries (from a PPA in Ubuntu's Launchpad server), run the following command in a (bash) terminal:

wget https://launchpad.net/~jason-scheunemann/+archive/ppa/+files/{libstdc++5_3.3.6-17~ppa~karmic1_amd64.deb,lib32stdc++5_3.3.6~ppa~lucid2_amd64.deb}

0 Kudos
opelx
Beginner
1,002 Views
works now, thanks for providing the ppa

opelx
0 Kudos
Reply