ISP Simulator Install

GLIBC

ma2x8x_ispsim_color 为32位库构建的,因此需要 Ubuntu i386 packages 来支持

第一次尝试 未成功

当时主要问题是 GLIBC 的版本,看了网上些许资料,对于Ubuntu16.04 GLIBC 的版本是2.23,但这个程序所需要的是 2.27 版本,网上资料基本上都说是换成 Ubuntu18.4

当时尝试的是将 Ubuntu16.04 的 GLIBC 版本升高,但是些许有些复杂,中间有些依赖关系需要修改,同时存在风险,在我的 Ubuntu16.04 主机上就没敢尝试

后续有时间试着将 Ubuntu16.04 虚拟机里面的 GLIBC 版本升高,做一次尝试
这是Ubuntu16.04 
siasun@ubuntu:~$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu11) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
siasun@ubuntu:~$ 
siasun@ubuntu:~$ 
siasun@ubuntu:~$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.23-0ubuntu11) stable release version 2.23, by Roland McGrath et al.
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 5.4.0 20160609.
Available extensions:
	crypt add-on version 2.1 by Michael Glad and others
	GNU Libidn by Simon Josefsson
	Native POSIX Threads Library by Ulrich Drepper et al
	BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.
siasun@ubuntu:~$ 
这是Ubuntu18.04
siasun@ubuntu:~$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.2) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
siasun@ubuntu:~$ 
siasun@ubuntu:~$ /lib/x86_64-linux-gnu/
ld-2.27.so            libc-2.27.so          libpthread-2.27.so    security/             
ld-linux-x86-64.so.2  libc.so.6             libpthread.so.0       
siasun@ubuntu:~$ /lib/x86_64-linux-gnu/lib
libc-2.27.so        libc.so.6           libpthread-2.27.so  libpthread.so.0     
siasun@ubuntu:~$ /lib/x86_64-linux-gnu/libc
libc-2.27.so  libc.so.6     
siasun@ubuntu:~$ /lib/x86_64-linux-gnu/libc
libc-2.27.so  libc.so.6     
siasun@ubuntu:~$ /lib/x86_64-linux-gnu/libc.so.6 
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1.2) stable release version 2.27.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 7.5.0.
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.
siasun@ubuntu:~$ 

Setup and Installation

Ubuntu16.04操作
siasun@ubuntu:~/package/Tuning/Imaging_Pipeline_Tuning_and_Calibration_Tools_for MyriadX_2004/Imaging_Pipeline_Simulator_for_Intel_Movidius_Myriad_X/colorIsp$ ldd ma2x8x_ispsim_color 
./ma2x8x_ispsim_color: /lib/i386-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./ma2x8x_ispsim_color)
	linux-gate.so.1 =>  (0xf7fa6000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf78fe000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7786000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7731000)
	libgomp.so.1 => /usr/lib/i386-linux-gnu/libgomp.so.1 (0xf770d000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf76f0000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf753a000)
	/lib/ld-linux.so.2 (0xf7fa8000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7534000)
siasun@ubuntu:~/package/Tuning/Imaging_Pipeline_Tuning_and_Calibration_Tools_for MyriadX_2004/Imaging_Pipeline_Simulator_for_Intel_Movidius_Myriad_X/colorIsp$
Ubuntu18.04操作
sudo dpkg --add-architecture i386;
sudo apt-get update
sudo apt-get install lib32z1 lib32ncurses5 libx11-6:i386
sudo apt install libstdc++5:i386 libstdc++6:i386 libc6:i386
sudo apt-get install libgcc1:i386 

没有的
sudo apt-get install ia32-libs lib32bz2-1.0 gcc-4.6-base:i386
查看库的依赖关系
siasun@ubuntu:~/ISP_Simulator/Imaging_Pipeline_Simulator_for_Intel_Movidius_Myriad_X/colorIsp$ ldd ma2x8x_ispsim_color 
	linux-gate.so.1 (0xf7f70000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf78d4000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf774e000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf764c000)
	libgomp.so.1 => not found
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf762e000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7452000)
	/lib/ld-linux.so.2 (0xf7f71000)
siasun@ubuntu:~/ISP_Simulator/Imaging_Pipeline_Simulator_for_Intel_Movidius_Myriad_X/colorIsp$
缺少libgomp.so.1库			/usr目录下确实没有这个库
siasun@ubuntu:/usr$ find -iname libgomp*
./lib/gcc/x86_64-linux-gnu/7/libgomp.spec
./lib/gcc/x86_64-linux-gnu/7/libgomp.so
./lib/gcc/x86_64-linux-gnu/7/libgomp.a
./lib/x86_64-linux-gnu/libgomp.so.1
./lib/x86_64-linux-gnu/libgomp.so.1.0.0
./share/doc/libgomp1
siasun@ubuntu:/usr$
搜素库			安装 sudo apt install libstdc++-6-dev:i386          解决
					sudo apt install libstdc++-5-dev:i386                  这个库没有装
siasun@ubuntu:~$ sudo apt install libstdc++-dev:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libstdc++-dev:i386 is a virtual package provided by:
  libstdc++-6-dev:i386 6.5.0-2ubuntu1~18.04
  libstdc++-8-dev:i386 8.4.0-1ubuntu1~18.04
  libstdc++-7-dev:i386 7.5.0-3ubuntu1~18.04
  libstdc++-5-dev:i386 5.5.0-12ubuntu1
  libstdc++-4.8-dev:i386 4.8.5-4ubuntu8
  libc++-dev:i386 6.0-2
You should explicitly select one to install.

E: Package 'libstdc++-dev:i386' has no installation candidate
siasun@ubuntu:~$ sudo apt install libstdc++-6-dev:i386
不缺少库了,可以直接操作了
siasun@ubuntu:~/ISP_Simulator/Imaging_Pipeline_Simulator_for_Intel_Movidius_Myriad_X/colorIsp$ ldd ma2x8x_ispsim_color 
	linux-gate.so.1 (0xf7fb4000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7918000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7792000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7690000)
	libgomp.so.1 => /usr/lib/i386-linux-gnu/libgomp.so.1 (0xf765f000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7641000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7465000)
	/lib/ld-linux.so.2 (0xf7fb5000)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值