arm-linux-ranlib:command not found
来源:互联网 发布:人工蜂群算法 java 编辑:程序博客网 时间:2024/05/22 01:36
工作:
移植SQLite3.7.6.2.
问题:
arm-linux-ranlib /sqlite/lib/libsqlite3.a
./libtool: line 6619: arm-linux-ranlib: command not found
make[1]: *** [install-libLTLIBRARIES] 错误 127
检查:
emdoor@ubuntu:~/work/SQLite/sqlite-autoconf-3070602$ which arm-linux-ranlib
/home/emdoor/work/EmdoorARM/toolschain/4.5.1/bin/arm-linux-ranlib
原因:
make install 时加了sudo 而我是在~/.bashrc中加的交叉编译路径。而用了sudo后就成另一个用户了,此
环境变量就不起作用了。
解决方案:
1:把交叉编译环境变量加到/etc/下的bash配制文件中去,使之对所有用户有效。
2:在make install前使用su。然后就不用sudo 了。
注:
su 和 sudo 的区别:
1.共同点:都具有root用户权限;
2.不同点:su仅仅取得root权限,工作环境不变;sudo是完全取得root的权限和root的工作环境
1.共同点:都具有root用户权限;
2.不同点:su仅仅取得root权限,工作环境不变;sudo是完全取得root的权限和root的工作环境
- arm-linux-ranlib:command not found
- make install时"arm-linux-ranlib command not found"
- make install时"arm-linux-ranlib command not found"
- make install时"arm-linux-ranlib command not found"
- qte移植make install时 arm-linux-ranlib:command not found
- arm-linux-ranlib:command no…
- make: arm-linux-gcc: Command not found
- arm-linux-gcc: Command not found 解决方案
- arm-linux-gcc: Command not found
- arm-linux-androideabi-gcc: Command not found
- arm-linux-gcc: Command not found
- make: arm-linux-gcc: Command not found
- arm-linux-gcc command not found
- arm-linux-gcc:command not found 解析
- arm-linux-gcc: Command not found 问题解决
- arm-linux-gcc: Command not found
- arm-linux-gcc: Command not found
- Linux PATH---ROOT 下arm-linux-gcc command not found
- this指针分析2
- C/C++程序员面试题
- C#中Dispose和Close的区别
- Lucene的工作原理(转载)
- 数组转化为Json格式
- arm-linux-ranlib:command not found
- Reflector 使用简介
- The expected argument types are (java.util.Map) but the supplied types were(java.lang.String) and converted to (null).
- strcmp为什么要用unsigned char
- C#开源资源大汇总
- Hadoop Job Tuning
- Python代码模块热更新机制实现(reload)
- LINK : 没有找到 *.exe 或上一个增量链接没有生成它;正在执行完全链接
- 堆和栈的区别