Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6738 Discussions

Linux64 : libippcore.so dynamic linking error related to libiomp5.so

Mathias_Ortner
Beginner
942 Views
Hello,
I hope someone can help, thanks in advance.
I am building a dynamic library that uses IPP.
The OS is Linux, 64 bit.
The point is, I am pointing to IPP libraries as part of the INTEL_COMPOSER_XE,
but instead of using Intel compiler, I have to use gcc.
I manage to correctly build the library, but at run time, I get the following error :
..../INTEL_COMPOSER_XE-2011.1.107/Linux64/composerxe-2011.1.107/ipp/lib/intel64/libippcore.so.7.0: symbol kmpc_set_affinity_mask_proc, version VERSION
not defined in file libiomp5.so with link time reference.
When I perform the associated ldd, I get (removing part of the path)
libiomp5.so => .../INTEL_COMPOSER_XE-2011.1.107/Linux64/composerxe-2011.1.107/compiler/lib/intel64/libiomp5.so (0x00002b78dd11f000)
libippi.so.7.0 =>.../INTEL_COMPOSER_XE-2011.1.107/Linux64/composerxe-2011.1.107/ipp/lib/intel64/libippi.so.7.0 (0x00002b78dd2fe000)
libipps.so.7.0 =>...//INTEL_COMPOSER_XE-2011.1.107/Linux64/composerxe-2011.1.107/ipp/lib/intel64/libipps.so.7.0 (0x00002b78dd4b0000)
libippvm.so.7.0 =>.../INTEL_COMPOSER_XE-2011.1.107/Linux64/composerxe-2011.1.107/ipp/lib/intel64/libippvm.so.7.0 (0x00002b78dd618000)
libippcore.so.7.0 =>.../INTEL_COMPOSER_XE-2011.1.107/Linux64/composerxe-
2011.1.107/ipp/lib/intel64/libippcore.so.7.0 (0x00002b78dd72e000)
0 Kudos
2 Replies
Mathias_Ortner
Beginner
942 Views
Solved,
I had a problem with LD_LIBRARY_PATH that was not accounted for, and a different version of libomp5.so was used.
0 Kudos
Naveen_G_Intel
Employee
942 Views

Hi Mathias,

Nice to know that issue has been resolved, you have to set LD_LIBRARY_PATH as mentioned din the user guide.


Regards,
Naveen GV

0 Kudos
Reply