转载于:http://hi.baidu.com/li_dayao/blog/item/ad6cddcb9d25641bbf09e66b.html 在arm-linux环境下运行可执行程序mocp,在加载动态库libdecoder.so时,却总是报错:File not found。在代码中添加很多printf,找到是在dlopen时报错。最初以为,是函数dlopen找不到lib_decoder.so文件。那么就认为有以下几种可能:...【阅读全文】
在一般用户下执行sudo命令提示llhtiger is not in the sudoers file. This incident will be reported.解决方法:一、$whereis sudoers -------找出文件所在的位置,默认都是/etc/sudoers二、 #chmod u+w /etc/sudoers 以超级用户登录su -root ,修改文件权限即添加文件拥有这的写权限,...【阅读全文】
新建的目录和文件,不和原先RPM包目录相同。add one file to directory.1, put the file "wlh" to /root/rpmbuild/SOURCES/2.modify spec file.for example using grub2-tools rpm.line320 add, Source2: wlhline520 add,if [ ! -d ${RPM_BUILD_ROOT}/home/ ]; then&n...【阅读全文】