- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
on my new Linux system (opensuse 13.2 64bit), there is no more library libstdc ++. so.5. There are only libstdc ++. So.6. However, my old fortran programs require a compiler version 11.1 or something like that.
Which is the oldest version of the fortran compiler, which already runs with libstdc ++. So.6 and where can I download it?
Herbert
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following suggestion would be inappropriate to use on a multi-user Linux system, but you may find it to be the simplest work-around for your situation on a stand-alone PC.
Create a link to libstdc++.so.6 with the name libstdc++.so.5 and try if your old programs work. Obviously, if there are some incompatible library routines between the true libstdc++.so.5 and the current libstdc++.so.6, and those routines are used by your code, this will cause problems.
That said, I don't think that there are any reasons that I can see that you must use an old compiler. Perhaps it would be more appropriate to fix your source code so that you can use the current compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
it's not so easy.
What I done:
:~ # ll /usr/lib64/libstdc++*
lrwxrwxrwx 1 root root 29 Dec 19 16:49 /usr/lib64/libstdc++.so.5 -> /usr/lib64/libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 30 Dec 19 16:48 /usr/lib64/libstdc++.so.5.0.7 -> /usr/lib64/libstdc++.so.6.0.19
lrwxrwxrwx 1 root root 19 Dec 18 22:24 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.19
-rwxr-xr-x 1 root root 995512 Oct 6 2014 /usr/lib64/libstdc++.so.6.0.19
:~ # ll /usr/lib/libstdc++*
lrwxrwxrwx 1 root root 27 Dec 19 16:49 /usr/lib/libstdc++.so.5 -> /usr/lib/libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 28 Dec 19 16:49 /usr/lib/libstdc++.so.5.0.7 -> /usr/lib/libstdc++.so.6.0.19
lrwxrwxrwx 1 root root 19 Dec 18 22:25 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.19
-rwxr-xr-x 1 root root 938496 Oct 6 2014 /usr/lib/libstdc++.so.6.0.19
And then the result:
herbert@:~/tmp/test_fortran> ifort celsius.f
/opt/intel/Compiler/11.1/072/bin/intel64/fortcom: /usr/lib64/libstdc++.so.5: version `CXXABI_1.2' not found (required by /opt/intel/Compiler/11.1/072/bin/intel64/fortcom)
/opt/intel/Compiler/11.1/072/bin/intel64/fortcom: /usr/lib64/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by /opt/intel/Compiler/11.1/072/bin/intel64/fortcom)
compilation aborted for celsius.f (code 1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A quick google search indicates that the libstdc++33 backward compatibility package should still be available to install on your version of OpenSuSE. That might be the best way to run such an old ifort installation (which is no longer supported).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank's, I have found in a unsupported repository devel:gcc. Compilation and linking function well stand alone but not in my software bundle.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page