本帖最后由 FSL_TICS_imx 于 2014-11-27 15:23 编辑
参照我们所提供的“i.MX6 Ubuntu12.04上编译LTIB”文档操作时。然后在执行
pp@ubuntu:~/Desktop/ltib/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 Oct 28 23:53:42 2014
Ended: Tue Oct 28 23:53:45 2014
Elapsed: 3 seconds
Build Failed
然后在网上搜索到的解答方法是修改/ltib/bin文件夹下的Ltibutils.pm中zlib的路径到指定文件夹
zlib => sub { my @f = (glob('/usr/lib/libz.so*'),
glob('/lib/libz.so*'),
glob('/lib64/libz.so*'),
glob('/usr/lib/i386-linux-gnu/libz.so*'),
glob('/usr/lib32/libz.so*'),
glob('/usr/lib/x86_64-linux-gnu/libz.so*') ); @f > 1 ? 1 : 0 },
'zlib-devel' => sub { -f '/usr/include/zlib.h' },
这个是怎么操作啊 |