出现/usr/bin/ts_calibrate: not found问题
来源:互联网 发布:网络回拨电话原理 编辑:程序博客网 时间:2024/05/18 00:31
转自http://blog.csdn.net/yx_l128125/article/details/7418882
1、关于-/bin/sh:xx(命令) not found 的几种原因:
1./bin/目录下没有这个命令;
2.bin/目录有这个命令,只是执行权限不够,或者程序执行权限不够;
3.程序需要的静态库或者动态库没有;
4、没有移植触摸屏的驱动程序
2、解决办法:
原因一的解决方法:安装busy box将busy box支持的命令安装到文件系统的bin目录下;(只要安装了busy box它会自动加载命令到bin目录下。
原因二的解决方法:在/bin/目录下找到对应的命令,修改其权限为777;具体操作: chmod 777 xx(命令) 【附加:在编写执行脚本文件时不能运行也大多是没有修改脚本权限的问题(命令其实就是一个特殊的脚本)】
原因三的解决方法:
(1)最“高效”的解决方法:用命令:arm-linux-readelf -d xxx(目标文件/命令) 查看xxx使用的动态库
如图:我的目标文件使用的动态库是libts-0.0.so.0 ,libdl.so.2,libc.so.6
arm-linux-readelf -a ts_calibrate |grep lib
于是我便去交叉编译器所在目录/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib下的动态库中寻找所需的上面三个库libts-0.0.so.0 ,libdl.so.2,libc.so.6 ,并复制到根文件系统的lib目录下:
原因四的解决方法
3、arm-linux-readelf工具的使用
ELF = Executable and Linkable Format,可执行连接格式,是UNIX系统实验室(USL)作为应用程序二进制接口(Application Binary Interface,ABI)而开发和发布的,扩展名为elf。
arm-linux-readelf是一个相当实用的elf文件查看工具,查看帮助
输入arm-linux-readelf -h
常用的:
arm-linux-readelf -a
当然,如果只看动态链接库,一般使用arm-linux-readelf -d
- 出现/usr/bin/ts_calibrate: not found问题
- ubuntu中遇到usr bin x not found问题
- Linux开发---usr/bin/c++ :not found
- /usr/bin/google-earth: 43: ./googleearth-bin: not found 解决
- Mxnet make : /usr/bin/ld -lippicv not found
- 安装cocoa pods时出现Operation not permitted - /usr/bin/xcodeproj的问题
- /bin/sh: 1: lzop: not found问题
- caffe运行mnist出现convert_mnist_data.bin: not found问题的解决
- 解决CocoaPods在OS X 10.11出现问题While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/
- 编译android出现 /bin/bash: jar: command not found; /bin/bash: javah: command not found解决办法
- cocoapods之 Operation not permitted - /usr/bin/pod 和-bash: pod: command not found
- 出现/usr/bin/ld:cannot find -lxxx的问题分析
- 编译出现“/usr/bin/ld cannot find -lssl“问题
- tensorflow 1.0安装过程中出现/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.19' not found问题的解决
- 解决应用程序执行时出现“-/bin/sh: ./xxx: not found”
- caffe运行mnist出现convert_mnist_data.bin: not found问题解决
- /usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
- /usr/local/mysql//bin/my_print_defaults: /lib64/libc.so.6: version `GLIBC_2.14' not found问题解决方案
- AFN3.0中文件的下载和上传
- JAVA的二叉树
- 注解形式控制器 数据验证,类型转换(3)
- 【Linux 系统编程】shell 脚本基础学习(一)
- Java多线程学习
- 出现/usr/bin/ts_calibrate: not found问题
- Linux中部署Java环境--安装JDK
- 旋转焦点图
- android判断网络或wifi是否连接
- lnmp环境搭建——mysql部分
- Android:控件AutoCompleteTextView 自动提示
- URL请求到Action的映射规则
- python工具安装
- List集合如何删除对象