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