Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

how to solve problem 'usr/lib/crt1.o: could not read symbols: File in wrong format'

$
0
0

Hello experts:

I just installed intel fortran compiler 8.0 on my x86-64 computer with Centos6.5 system.

in the installation process, I choose IA-32 to install it.

after default choice and installation, I configure the .bashrc as suggestions of the installation guide.

after sourcing .bashrc, then I use ifort to compile the hello.f in my current dir.

but firstly the message that

'/usr/bin/ld: cannot find crt1.o: No such file or directory'

comes up.

so I turned to install glibc-devel-2.12-1.132.el6.i686.rpm on my computer, even though I type 'rpm -qa|grep glibc-devel' and know the glibc-devel I installed is 'glibc-devel-2.12-1.132.el6.x86_64'.

after the installation, I type 'rpm -qa|grep glibc-devel'again, then 'glibc-devel-2.12-1.132.el6.x86_64 and glibc-devel-2.12-1.132.el6.i686' have been installed. and I find 'crt1.o' in the /usr/lib and another 'crt1.o' in the /usr/lib64.

So I use ifort again to compile the 'hello.f'. but another message comes up

'usr/lib/crt1.o: could not read symbols: File in wrong format'

I try my best to solve the problem by installing IFC_V8 but can not work it our. Can you help me out?

how to make it?

best regards,

yours alex

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>