英特尔性能基元 (IPP) 运行时错误
我有不是我写的源代码,我无法联系到作者。它是用 C++ 编写的,需要 libjpeg、boost 和英特尔性能基元。
编译是一件苦差事,但经过几天的问题解决后,它编译了。现在,我收到以下运行时错误:加载共享库时出错:libippi.so.5.1:无法打开共享对象文件:没有这样的文件或目录
。无论命令行参数如何,错误都会立即发生。
我下载了 Ubuntu 9.04 的 IPP 试用版。在 /opt/intel/ipp/6.1.2.051/ia32/sharedlib/
下,我看到一堆以 lib*
和 libippi*
开头的文件>,包括libippi.so.6.1
。所以我想尝试创建一个指向 libippi.so.6.1
的链接 libippi.so.5.1
,但这不起作用。我尝试在本地目录中创建类似的链接,但这也不起作用。
我对这些库都不熟悉,所以我不知道还能尝试什么。我在网上找不到任何解决方案或SO。如果您能帮助我修复这个错误,我将不胜感激。谢谢。
I have source code that was not written by me, and I cannot contact the author. It is written in C++ and requires libjpeg, boost, and the Intel Performance Primitives.
Compilation was a chore, but after days of problem solving, it compiles. Now, I get the following runtime error: error while loading shared libraries: libippi.so.5.1: cannot open shared object file: No such file or directory
. The error occurs immediately regardless of the command line arguments.
I downloaded the trial version of IPP for Ubuntu 9.04. Under /opt/intel/ipp/6.1.2.051/ia32/sharedlib/
, I see a bunch of files beginning with lib*
and libippi*
, including libippi.so.6.1
. So I thought I would try to create a link libippi.so.5.1
that points to libippi.so.6.1
, but that doesn't work. I tried creating a similar link in the local directory, and that does not work either.
I am not familiar with any of these libraries, so I don't know what else to try. I could not find any solutions on the net or SO. If you could kindly help me fix this error, I would greatly appreciate it. Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道已经有一段时间了,但是这里有一个解决方案可以帮助解决这个问题
http://www.w-bremer.de/en/howtos /72-opencv-ubuntu-ipp:)
I know its been a while, but theres a solution here that helps with the problem
http://www.w-bremer.de/en/howtos/72-opencv-ubuntu-ipp :)
看起来该应用程序是针对旧版本的 IPP 编译的。由于 6.1.2 被称为 libippi.so.6.1,因此安装 IPP 5.1.x 可能会很简单(尽管 linux 库版本控制并不这么简单。)
如果您为 intel 非商业 IPP 下载区域创建登录名,您可以四处挖掘,看看他们是否提供较旧的版本。
或者,进行快速的谷歌搜索,我发现这个 FTP 站点似乎有它,但请注意我实际上没有下载或尝试过这个代码,并且无法验证这是否是合法的镜像,或者它是否是原始的Intel 库,在使用此代码之前,您需要自己进行尽职调查
http://21cma.bao.ac.cn/software/21cma/intel/ipp-5.1.1.005/
请注意,要在现代 Ubuntu 中使用此旧版本的 IPP,您需要可能需要获取它所依赖的其他库的旧版本(发行说明中列出了要求),或者甚至只是在受支持的 Linux 发行版的 chroot 下运行它,至少测试它是否可以解决您的问题。
Looks like the app is compiled against an older version of IPP. Since 6.1.2 is called libippi.so.6.1, it may be as simple installing IPP 5.1.x (though linux library versioning isn't as simple as this.)
If you create a login for the intel non-commercial IPP download area, you can dig around and see if they offer older builds.
Alternatively, doing a quick google search I found this FTP site which seems to have it but note I have not actually downloaded or tried this code, and can not verify if this is a legal mirror or not or if it is the original Intel libraries, you will need to do your own due dilligence before using this code
http://21cma.bao.ac.cn/software/21cma/intel/ipp-5.1.1.005/
Note that to use this older version of IPP in a modern Ubuntu, you may need to get older versions of other libraries it depends on (the requirements are listed in the Release Notes), or even just run it under a chroot of a supported Linux Distro at least to test if it fixes your issue.