UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Adventurer
Adventurer
273 次查看
注册日期: ‎11-23-2018

petalinux2018.2报错缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间

转到解答

petalinux2018.2报错缺少libtool,缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间,这是什么原因?

重装也是找不到libtool

 

xxx@xxx-p100-122:~$source /home/xxx/petalinux201802/settings.sh
PetaLinux environment set to '/home/xxx/petalinux201802'
INFO: Checking free disk space
INFO: Checking installed tools
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 302: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 304: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 306: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
ERROR: You are missing the following system tools required by PetaLinux:

 - libtool
Please check PetaLinux installation guide - required tools and libraries package section for detailed information

INFO: Checking installed development libraries
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 388: [: ==: unary operator expected
Please install them with your operating system package manager, and try again
xxx@xxx-p100-122:~$ sudo apt-get  install libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
libtool is already the newest version (2.4.6-0.1).
0 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
xxx@xxx-p100-122:~$

 

0 项奖励
1 个已接受解答

已接受的解答
Adventurer
Adventurer
241 次查看
注册日期: ‎11-23-2018

回复: petalinux2018.2报错缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间

转到解答

参考https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2017-4-Installation-failed-in-Docker/m-p/868701

装了一个libtool-bin,petalinux能work,但是source 过程依然有问题:

xxx@xxx-p100-122:~$ source /home/xxx/petalinux201802/settings.sh
PetaLinux environment set to '/home/xxx/petalinux201802'
INFO: Checking free disk space
INFO: Checking installed tools
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 302: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 304: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 306: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
INFO: Checking installed development libraries
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 388: [: ==: unary operator expected
INFO: Checking network and other services

在原帖中查看解决方案

0 项奖励
5 条回复5
Adventurer
Adventurer
262 次查看
注册日期: ‎03-16-2013

回复: petalinux2018.2报错缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间

转到解答

s删除这个库再重新安装,我前段时间刚发生过类似的事情,我的是另外的库出问题,

0 项奖励
Adventurer
Adventurer
260 次查看
注册日期: ‎11-23-2018

回复: petalinux2018.2报错缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间

转到解答

@qglyj 

 

sudo apt-get remove libtool

sudo apt-get install libtool

卸载和重装后,问题依然没有解决

0 项奖励
Adventurer
Adventurer
242 次查看
注册日期: ‎11-23-2018

回复: petalinux2018.2报错缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间

转到解答

参考https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2017-4-Installation-failed-in-Docker/m-p/868701

装了一个libtool-bin,petalinux能work,但是source 过程依然有问题:

xxx@xxx-p100-122:~$ source /home/xxx/petalinux201802/settings.sh
PetaLinux environment set to '/home/xxx/petalinux201802'
INFO: Checking free disk space
INFO: Checking installed tools
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 302: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 304: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 306: [: ==: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 251: [: =: unary operator expected
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 219: [: =: unary operator expected
INFO: Checking installed development libraries
/home/xxx/petalinux201802/tools/common/petalinux//utils/petalinux-env-check: line 388: [: ==: unary operator expected
INFO: Checking network and other services

在原帖中查看解决方案

0 项奖励
Xilinx Employee
Xilinx Employee
148 次查看
注册日期: ‎09-14-2018

回复: petalinux2018.2报错缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间

转到解答

hi @yyt 

操作系统的版本满足要求吗?
另外可以按照这个流程先完整重装下库试试,

sudo apt-get update

# Otherwise some of the lib/tools following can't be found on apt-get

 

sudo apt-get install -y python tofrodos iproute2 gawk xvfb gcc git net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev

#Some of the library can't be found with the name listed on UG1144

 

sudo apt-get install zlib1g:i386

# If you don't install this one, some warning would be found when source the PetaLinux settings

 

sudo apt-get install screen

# This is a work-around found for can't open "petalinux-config -c kernel" menu window

 

供参考。

----------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
----------------------------------------------------------------------------------------------

0 项奖励
Adventurer
Adventurer
133 次查看
注册日期: ‎11-23-2018

回复: petalinux2018.2报错缺少libtool,但是libtool已经装好了,并且petalinux已经用过很长时间

转到解答

@chaoz 

 

操作系统是没问题的,petalinux我们已经正常使用一年左右,之前都是没问题的。

库已经装了一遍,没什么问题。

 

现在虽然在source时报那些问题,但是config  build等过程还是可以用的,先凑合用吧。

 

谢谢

 

0 项奖励