- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please do a build adding the ifc switch -v and show the resulting output.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
$> 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page