標(biāo)題: 查詢Linux應(yīng)用程序運(yùn)行依賴(lài)哪些庫(kù) [打印本頁(yè)]

作者: xueren    時(shí)間: 2013-8-9 21:41
標(biāo)題: 查詢Linux應(yīng)用程序運(yùn)行依賴(lài)哪些庫(kù)
查詢Linux應(yīng)用程序運(yùn)行依賴(lài)哪些庫(kù)

一法:
$(CROSS_COMPILE)ldd AppName

如:
arm_v5t_le-lld test


二法:
$(CROSS_COMPILE)objdump -x AppName |grep NEED

如:
arm_v5t_le-objdump -x test |grep NEED


三法:
$(CROSS_COMPILE)readelf -a AppName |grep "Shared library"

如:
arm_v5t_le-readelf -a test |grep "Shared library"                                                                                            





歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1