2013年1月19日

-/bin/sh not found

摘要: 1 #! /bin/bash 2 LIB_CUR_REL= 3 LIB_CUR_ABS= 4 5 get_binary_dependency() 6 { 7 readelf -d $1 | grep NEEDED | sed -n 's,.*\[\(.*\)\],\1,p' 8 } 9 10 expand_path() 11 { 12 LIB_CUR_ABS= 13 for i in /lib /usr/lib ${LD_LIBRARY_PATH} 14 do 15 for j in $@ 16 do 17 if [ -f ${i}/${j} ] 18 then 19 LIB_ 阅读全文

posted @ 2013-01-19 20:07 阿加 阅读(523) 评论(0) 推荐(0) 编辑

导航