- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been spending hours trying to understand why Intel `ifort` cannot link `libirng` statically with output shared libraries. Still, I have no clue. I have tried `-static-intel` with and without the other more generic flag `-static` but it has no effects. Using `ldd`, I can still see a dependency on `libirng.so`.
I would appreciate any suggestion as to where to look for a solution next to get this resolved. I am using Intel OneAPI 2021.11.1
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
that is unusual. that's the random number generator library. Are you linking in any 3rd party libraries? Maybe they have a dynamic link to libirng.so?
Try compiler option -# when you build the final executable and check all the -l arguments going into the linker.

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