码迷,mamicode.com
首页 > 系统相关 > 详细

Linux下编译LTIB时找不到zlib的解决办法

时间:2014-12-02 17:02:55      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:http   ar   os   使用   sp   for   on   文件   2014   

最近在使用基于ARM Cortex-A9内核的飞思卡尔i.MX6Q四核处理器开发一款产品,在ubuntu 12.04上编译LTIB时遇到了找不到zlib的问题(在此之前已经安装了必须的各种库文件)。

错误信息如下:

=============================

chenke@ubuntu:~/imx6/L3.0.35_4.1.0_130816_source/source/ltib$ ./ltib

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 2 13:54:43 2014
Ended: Tue Dec 2 13:54:49 2014
Elapsed: 6 seconds


Build Failed

Exiting on error or interrupt
chenke@ubuntu:~/imx6/L3.0.35_4.1.0_130816_source/source/ltib$

=============================

问题原因:在用ubuntu12.04编译LTIB时候,需要安装脚本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

 

脚本下载:patch-ltib-ubuntu12.04.sh

参考:https://community.freescale.com/docs/DOC-93455

 

Linux下编译LTIB时找不到zlib的解决办法

标签:http   ar   os   使用   sp   for   on   文件   2014   

原文地址:http://www.cnblogs.com/geekham/p/4137795.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!