Linux下编译LTIB时找不到zlib的解决办法
来源:互联网 发布:网络公关什么意思 编辑:程序博客网 时间:2024/06/05 19:38
一、问题一
最近在使用基于ARM Cortex-A9内核的飞思卡尔i.MX6Q四核处理器开发一款产品,在ubuntu 12.04上编译LTIB时遇到了找不到zlib的问题(在此之前已经安装了必须的各种库文件)。
错误信息如下:
ltib cannot be run because one or more of the host packages needed to run it
are either missing or out of date or not in ltib’s standard path. Please
install/upgrade these packages on your host. If you have your own utilities
in non-standard paths, please add an entry into the .ltibrc file for example:
%path_std
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes
Package Minimum ver Installed info
——- ———– —————
zlib 0 not installed
Died at ./ltib line 1409.
traceback:
main::host_checks:1409
main:554
Started: Tue Dec 20 16:24:21 2016
Ended: Tue Dec 20 16:24:21 2016
Elapsed: 0 seconds
Build Failed
Exiting on error or interrupt
问题原因:在用ubuntu12.04编译LTIB时候,需要安装脚本patch-ltib-ubuntu12.04.sh。
二、问题二
在网站https://community.nxp.com/docs/DOC-93455下载patch-ltib-ubuntu12.04.sh文件。
Script which patches the ltib folder on Ubuntu 12.04.
Steps:
cp patch-ltib-ubuntu12.04.sh your ltib folder
cd your ltib folder
chmod +x patch-ltib-ubuntu12.04.sh
./patch-ltib-ubuntu12.04.sh
最后一步执行脚本时出现错误:
正在解析主机 community.freescale.com (community.freescale.com)… 192.88.156.33
正在连接 community.freescale.com (community.freescale.com)|192.88.156.33|:443… 已连接。
错误: 没有匹配的证书主体别名 (Subject Alternative Name)。
请求的主机名为 “community.freescale.com”。
要以不安全的方式连接至 community.freescale.com,使用“–no-check-certificate”。
解决:打开脚本patch-ltib-ubuntu12.04.sh,在wget -O ubuntu-ltib-patch.tgz https://community.freescale.com/servlet/JiveServlet/downloadBody/93454-102-3-2834/ubuntu-ltib-patch.tgz后面添加–no-check-certificate即可。
- Linux下编译LTIB时找不到zlib的解决办法
- Linux下zlib的编译
- 解决办法:cx_freeze在Ubuntu下找不到zlib
- IMX6Q LTIB 安装编译错误的解决办法
- Linux下编译LTIB问题记录
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- zlib 在 Visual Studio 2005 下编译失败的解决办法
- linux下编译安装zlib
- 【安卓知识点汇总】 手机拍照上传照片
- ubuntu14.04安装Theano
- sql优化方法
- Jenkins持续集成 & .NET cmd创建日期时间文件夹
- Mysql学习(九)
- Linux下编译LTIB时找不到zlib的解决办法
- EN 300 468 1.3.1
- point
- Java 集合之 fail-fast总结(通过ArrayList来说明fail-fast的原理、解决办法)
- Linux 命令详解
- Edit Distance
- TestNG 入门
- 大二
- 【Struts2】struts.xml详解