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

Building with -static-libcxa

heavyprecip
Beginner
970 Views
Hi there,
i'm trying to build an application on one machine, then copy it to another an run it there.
I'm compiling with -static-libcxa and -static but i still get the error:

error while loading shared libraries: libcxaguard.so.5: cannot open shared object file: No such file or directory

when i try to run it.

ldd exe shows:
...
libcxaguard.so.5 => /opt/intel_fce_80/lib/libcxaguard.so.5
...

Why is libcxa still dynamic? and how do i avoid it?

Thanks in advance
Felix
0 Kudos
1 Reply
Lorri_M_Intel
Employee
970 Views
What version are you using?
I think we've fixed bugs in libcxa-static a few monthsback.
- Lorri
0 Kudos
Reply