Linux下編譯LTIB時找不到zlib的解決辦法

來源:互聯網
上載者:User

標籤:http   ar   os   使用   sp   for   on   檔案   2014   

最近在使用基於ARM Cortex-A9核心的飛思卡爾i.MX6Q四核處理器開發一款產品,在ubuntu 12.04上編譯LTIB時遇到了找不到zlib的問題(在此之前已經安裝了必須的各種庫檔案)。

錯誤資訊如下:

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

[email protected]:~/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
[email protected]:~/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的解決辦法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.