Linux下解决ldd时出现not a dynamic executable问题

如果程序是交叉编译的,生成的程序可能在本机ldd时看不到依赖库。

可以执行下面命令,看其依赖项:

readelf -d your_exe | grep NEEDED

posted @ 2021-12-18 11:49  Dsp Tian  阅读(2947)  评论(0编辑  收藏  举报