libstdc++.so.5 in OpenSuse 11.4

When I compiled with ifort, it appeared the massage:

/opt/intel/Compiler/11.1/069/bin/intel64/fortcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
ifort: error #10273: Fatal error in /opt/intel/Compiler/11.1/069/bin/intel64/fortcom, terminated by 0x7f

those libs such as libstdc++.so.6 are in /usr/lib, but is lake of libstdc++.so.5.

Where is it?

Also, as said before, it’s in the “compat-libstdc++-33” package

spooon in FC4 doesn’t have libstdc++.so.5 but libstdc++.so.6

繼續閱讀 libstdc++.so.5 in OpenSuse 11.4

GETFILEINFOQQ in ifort on 64bit

I accounted a problem with the GETFILEINFOQQ of ifort function such as

Lsac2Ssac_SubUse.f90(473): error #6284: There is no matching specific function for this generic function reference.   [GETFILEINFOQQ]
FnameLength=GETFILEINFOQQ(EventListfile,FileInfo,FileHandle)
--------------^

and it was a problem of declaration, the previous code was

type (File$Info) :: FileInfo
integer :: FnameLength, FileHandle
character(len=32) :: LSindexfile
!
FileHandle =file$first
FnameLength=GETFILEINFOQQ(EventListfile,FileInfo,FileHandle)
LSindexfile='LS'//FileInfo.name(3:FnameLength)

And in 64 bit machine, FileHandle should be declared as 8 bit and is suggested be declared as

INTEGER(INT_PTR_KIND())

繼續閱讀 GETFILEINFOQQ in ifort on 64bit