- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have installed Fortran 9.0 for Linux on an EM64T system. The compiler seems to work fine, but for every source compiled, the system warns about:
$ ifort helloworld.f
/opt/intel/fortran90/bin/fortcom: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.5/32/libstdc++.so.5: no version information available (required by /opt/intel/fortran90/bin/fortcom)
/opt/intel/fortran90/bin/fortcom: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.5/32/libstdc++.so.5: no version information available (required by /opt/intel/fortran90/bin/fortcom)
The compiled program runs fine without problems. It is just that these warnings make it difficult to intercept warnings.
My system uses gcc-4.1 by default, but as you can see above I also installed gcc-3.3.5 for the 32bit libstdc++ compatability library.
ldd shows:
$ ldd /opt/intel/fortran90/bin/fortcom
/opt/intel/fortran90/bin/fortcom: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.5/32/libstdc++.so.5: no version information available (required by /opt/intel/fortran90/bin/fortcom)
/opt/intel/fortran90/bin/fortcom: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.5/32/libstdc++.so.5: no version information available (required by /opt/intel/fortran90/bin/fortcom)
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib32/libm.so.6 (0xf7f38000)
libstdc++.so.5 => /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.5/32/libstdc++.so.5 (0xf7e7f000)
libgcc_s.so.1 => /lib32/libgcc_s.so.1 (0xf7e75000)
libc.so.6 => /lib32/libc.so.6 (0xf7d5e000)
/lib/ld-linux.so.2 (0xf7f72000)
From what I read is that warnings about libstdc++.so.5 are customary when libstdc++.so.5 is compiled with a different gcc version than the binary (fortcom).
So what gcc version should I compile libstdc++ with?
Or am I missing something else? Yes, linux-gate.so.1. How to fix this?
Thanks in advance,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With ldd -v I found out that:
Version information:
/opt/intel/fortran90/bin/fortcom:
libstdc++.so.5 (CXXABI_1.2) => not found
libstdc++.so.5 (GLIBCPP_3.2) => not found
So I guess I *should* compile gcc-3.2? Anyway, gcc-3.2 won't even compile anymore.
It turned out that the libstdc++.so.5 linked to is not the correct one. Chaning the priority of the x86-compat-emul libraries in /etc/ld.so.conf or uninstalling gcc-3.3.5 works.
Only linux-gate.so.1 still cannot be found, but this is the same on my x86 systems and does not seem to cause any problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From what you have said, I'm guessing you have done something different.
If you upgrade to ifort 9.1, you should be able to run with gcc-4.1, provided that you have installed both 32- and 64-bit g++ support.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page