查看linux程序依赖动态库,linux下查看动态链接库依赖关系的命令

实际例子:

以项目中用到的库librtsp.so分析:

lijun@ubuntu:~/workspace$ arm-hisiv100nptl-linux-ld -d librtsp.so

arm-hisiv100nptl-linux-ld: warning: liblog.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libcutils.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libutils.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libbinder.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libssl.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libcrypto.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libgui.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libmedia.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libstagefright_foundation.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libc.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: libstdc++.so, needed by librtsp.so, not found (try using -rpath or -rpath-link)

arm-hisiv100nptl-linux-ld: warning: cannot find entry symbol _start; defaulting to 00008204

librtsp.so: undefined reference to `__aeabi_unwind_cpp_pr0'

librtsp.so: undefined reference to `operator new[](unsigned int)'

librtsp.so: undefined reference to `__sF'

librtsp.so: undefined reference to `operator delete[](void*)'

librtsp.so: undefined reference to `_Unwind_Resume_or_Rethrow'

librtsp.so: undefined reference to `_Unwind_VRS_Get'

librtsp.so: undefined reference to `_toupper_tab_'

librtsp.so: undefined reference to `__gnu_unwind_frame'

librtsp.so: undefined reference to `__memset_chk'

librtsp.so: undefined reference to `pthread_key_create'

librtsp.so: undefined reference to `_Unwind_RaiseException'

librtsp.so: undefined reference to `__strcat_chk'

librtsp.so: undefined reference to `operator delete(void*)'

librtsp.so: undefined reference to `__aeabi_unwind_cpp_pr1'

librtsp.so: undefined reference to `_tolower_tab_'

librtsp.so: undefined reference to `__cxa_pure_virtual'

librtsp.so: undefined reference to `_Unwind_VRS_Set'

librtsp.so: undefined reference to `_Unwind_GetLanguageSpecificData'

librtsp.so: undefined reference to `__android_log_print'

librtsp.so: undefined reference to `pthread_getspecific'

librtsp.so: undefined reference to `_Unwind_Resume'

librtsp.so: undefined reference to `__strlen_chk'

librtsp.so: undefined reference to `_ctype_'

librtsp.so: undefined reference to `__isthreaded'

librtsp.so: undefined reference to `_Unwind_Complete'

librtsp.so: undefined reference to `_Unwind_DeleteException'

librtsp.so: undefined reference to `_Unwind_GetTextRelBase'

librtsp.so: undefined reference to `__aeabi_uldivmod'

librtsp.so: undefined reference to `__swbuf'

librtsp.so: undefined reference to `_Unwind_GetDataRelBase'

librtsp.so: undefined reference to `pthread_key_delete'

librtsp.so: undefined reference to `__sprintf_chk'

librtsp.so: undefined reference to `_Unwind_GetRegionStart'

librtsp.so: undefined reference to `__errno'

librtsp.so: undefined reference to `operator new(unsigned int)'

librtsp.so: undefined reference to `pthread_setspecific

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值