Intel® Advisor Help

Troubleshooting Undefined Linker References to dlopen or dlsym

Symptoms

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

Details

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. Intel Advisor uses dynamic loading.

Possible Correction Strategies

See Also