- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I've been trying to statically link the helloworld.f90 with -static switch, but never get it done. Can anyone enlighten me?
I got error message like this:
/opt/intel_fce_80/lib/libifcore.a(for_open_proc.o)(.text+0x3d86): In function `for__compute_filename':
: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/intel_fce_80/lib/libifcore.a(for_open_proc.o)(.text+0x3e9d): In function `for__compute_filename':
: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Thanks a lot!
Johnix
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is not an error message, and it's not specific to ifort. It's simply a warning that libc may not have been static linked. You could use ldd to find out whether that is so. In most cases, the application will still run OK. It may mean that the link command line passed by ifort to ld could be improved upon. If it is one of those few cases where there actually is a run-time failure, other than one caused by failing to find libc.so (you would get a message to that effect), please submit a problem report on your account at premier.intel.com. I agree that the message is annoying, regardless of whether it correlates with a problem.

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