The zlib solution cannot be found when LTIB is compiled in Linux. ltibzlib

Source: Internet
Author: User
Tags imx6

The zlib solution cannot be found when LTIB is compiled in Linux. ltibzlib

Recently I was using the ARM-based Cortex-A9 kernel. MX6Q quad-core processor is used to develop a product. When compiling LTIB on ubuntu 12.04, zlib cannot be found (required library files have been installed before ).

The error message is as follows:

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

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/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 $

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

Cause: Install the script patch-ltib-ubuntu12.04.sh when compiling LTIB with ubuntu12.04.

Solution:

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

Official documents: patch-ltib-ubuntu12.04.sh

For other problems encountered during compilation, refer to the following methods:

1. ubuntu 12.04 LTIB zlib error code issue

2. ltib compilation on ubuntu12.04

 

Note:

When creating a symbolic link, some Linux commands on the Internet are as follows:

The directory name above cd/usr/include/sudo ln-s i386-linux-gun/sys is incorrect and the i386-linux-gun should be changed to i386-linux-gnu with the complete command below: cd/usr/include/sudo ln-s i386-linux-gnu/sys last compiled successfully interface:

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.