Intel® Advisor Help

Error Message: Undefined Linker References to dlopen or dlsym

Symptoms

When linking your application program on Linux* OS, you see linker (ld) messages such as:

Cause

Intel® Advisor uses dynamic loading. After you add the #include (C/C++) line to include the Intel® Advisor annotation definition file, you must specify the linker option -ldl to enable dynamic loading.

Note

In most cases, you do not need source annotations when using Intel® Advisor, except for the Suitability analysis of the Threading perspective. When analyzing your application with other perspectives, such as Vectorization and Code Insights or Offload Modeling, you can analyze all parts of your code automatically or use Intel Advisormark-up capabilities, which do not require you to recompile your application.

Possible Solution

See Also