Zlib solution not found when compiling Ltib under Linux

Source: Internet
Author: User
Tags imx6

Recently, a product was developed using the Freescale i.mx6q four core processor based on the arm cortex-a9 core, when compiling Ltib on Ubuntu 12.04, there was a problem with zlib not found (the various library files must have been installed before).

The error message is as follows:

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

[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
is 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 a 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$

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

Problem reason: When compiling ltib with ubuntu12.04, you need to install script patch-ltib-ubuntu12.04.sh.

Workaround:

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

Script Download: patch-ltib-ubuntu12.04.sh

Reference: https://community.freescale.com/docs/DOC-93455

Zlib solution not found when compiling Ltib under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.