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

Can't open ... crtxi.o

yongtao
Beginner
480 Views

Hi! all

I am starting to use ifc on linux. The system is Suse 7.3.

The binary is installed at/usr/local/compilers60/ia32/bin

and libraries (alos the crtxi.o and crtxn.o) at
/usr/local/lib

When linking the code, I got the error:

ld: cannot open /usr/local/compiler60/ia32/lib/crtxi.o: No such file or directory

I have already set the LD_LIBRARY_PATH to include /usr/local/lib. So can you tell me how to let ld to link the /usr/local/lib/crtxi.o ?

Thanks !

Yongtao

0 Kudos
3 Replies
Steven_L_Intel1
Employee
480 Views
Please do a build adding the ifc switch -v and show the resulting output.

Steve
0 Kudos
yongtao
Beginner
480 Views
Thanks, the results are:

$> ifc -v Obj_i386/hornte.o Obj_i386/twodesc.o Obj_i386/twodexact.o -o ../../Yang/Bin_i386/hornte
ld
/usr/lib/crt1.o
/usr/lib/crti.o
/usr/local/compiler60/ia32/lib/crtxi.o
-dynamic-linker
/lib/ld-linux.so.2
-o
../../Yang/Bin_i386/hornte
Obj_i386/hornte.o
Obj_i386/twodesc.o
Obj_i386/twodexact.o
-Qy
/usr/local/compiler60/ia32/lib/icrt.link
-u
___pseudo_link
-L/usr/local/compiler60/ia32/lib
-L/usr/lib
-Bstatic
-lintrins
-lIEPCF90
-lF90
-lintrins
-limf
-Bdynamic
-lm
-Bstatic
-lirc
-Bdynamic
-lcxa
-Bstatic
-lcprts
-lunwind
-Bdynamic
-lcxa
-Bdynamic
-lc
/usr/local/compiler60/ia32/lib/crtxn.o
/usr/lib/crtn.o

ld: cannot open /usr/local/compiler60/ia32/lib/crtxi.o: No such file or directory

By checking with the 'rpm -ql ' command, seems that my SA moved those files after installing the rpm.


0 Kudos
Steven_L_Intel1
Employee
480 Views
I have to admit I'm not all that familiar with Linux, but the search order of the libraries seems odd. I suggest you report the problem, including what you've shown here, to Intel tech support via the link above.

Steve
0 Kudos
Reply