libiomp5.so 的多个 shlib 提供程序
Posted
技术标签:
【中文标题】libiomp5.so 的多个 shlib 提供程序【英文标题】:Multiple shlib providers for libiomp5.so 【发布时间】:2020-05-18 06:34:52 【问题描述】:我为用于安装英特尔 MKL 的定制配方进行了 bitbake。
MKL 下载链接: https://software.intel.com/content/www/us/en/develop/tools/mpi-library/choose-download.html
做了之后
bitbake foo
它显示:
ERROR: lmkl-1.0-r0 do_package: lmkl: Multiple shlib providers for libiomp5.so: lmkl, lmkl (used by files: /home/rsa/foo/build/tmp/work/corei7-64-poky-linux/lmkl/1.0-r0/packages-split/lmkl/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/benchmarks/hpcg/bin/xhpcg_skx)
ERROR: lmkl-1.0-r0 do_package: lmkl: Multiple shlib providers for libtbbmalloc.so.2: lmkl, lmkl (used by files: /home/rsa/foo/build/tmp/work/corei7-64-poky-linux/lmkl/1.0-r0/packages-split/lmkl/opt/intel/compilers_and_libraries_2020.0.166/linux/tbb/lib/intel64_lin/gcc4.8/libtbbmalloc_proxy.so.2)
ERROR: lmkl-1.0-r0 do_package: lmkl: Multiple shlib providers for libiomp5.so: lmkl, lmkl (used by files: /home/rsa/foo/build/tmp/work/corei7-64-poky-linux/lmkl/1.0-r0/packages-split/lmkl/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/benchmarks/hpcg/bin/xhpcg_avx)
ERROR: lmkl-1.0-r0 do_package: lmkl: Multiple shlib providers for libiomp5.so: lmkl, lmkl (used by files: /home/rsa/foo/build/tmp/work/corei7-64-poky-linux/lmkl/1.0-r0/packages-split/lmkl/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/benchmarks/hpcg/bin/xhpcg_knl)
ERROR: lmkl-1.0-r0 do_package: lmkl: Multiple shlib providers for libiomp5.so: lmkl, lmkl (used by files: /home/rsa/foo/build/tmp/work/corei7-64-poky-linux/lmkl/1.0-r0/packages-split/lmkl/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/benchmarks/hpcg/bin/xhpcg_avx2)
ERROR: lmkl-1.0-r0 do_package: lmkl: Multiple shlib providers for libtbbmalloc.so.2: lmkl, lmkl (used by files: /home/rsa/foo/build/tmp/work/corei7-64-poky-linux/lmkl/1.0-r0/packages-split/lmkl/opt/intel/compilers_and_libraries_2020.0.166/linux/tbb/lib/ia32_lin/gcc4.8/libtbbmalloc_proxy.so.2)
这是我的bb:
RDEPENDS_$PN += "bash coreutils"
DEPENDS += " coreutils-native"
INSANE_SKIP_$PN += "dev-so file-rdeps already-stripped ldflags arch libdir installed-vs-shipped"
我应该设置什么配置来解决这个问题?
【问题讨论】:
【参考方案1】:这应该可行。
do_package_qa[noexec] = "1"
EXCLUDE_FROM_SHLIBS = "1"
【讨论】:
以上是关于libiomp5.so 的多个 shlib 提供程序的主要内容,如果未能解决你的问题,请参考以下文章