- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When linking my binary I get this error:
ifort control.o -O3 -L../lib -ldyna -L/opt/intel/mkl/10.1.2.024/lib/em64t -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_lapack -lmkl_core -lguide -lpthread -lm -o control
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../lib64/crt1.o: In function `_start':
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../lib64/crt1.o: In function `_start':
(.text+0x19): undefined reference to `__libc_csu_init'
/opt/intel/mkl/10.1.2.024/lib/em64t/libguide.so: undefined reference to `pthread_atfork'
make: *** [control] Error 1
I have not found any solution that works to fix the first to linker problems. Does anyone have any suggestions?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to post my solution to this problem. Using Fedora 11, there is a glibc.i686 and glibc.i586. The default system installs glibc.i686 (to the best of my knowledge this is indeed the default). However simply downloading and installing the glibc.i586 rpm and removing the glibc.i686 rpm fixes the problem.
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using Red Hat Enterprise 6 ( RHEL6 ) or clones, like SL6, Centos6, this issue is also present using fce/bin/ifort 10.1. The solution was to install glibc-static.i686.
Hope this helps
Hope this helps
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