qnx 如何查看一个命令需要调用哪些文件

大家好

请问如何查看chattr这个命令都需要什么库和连接文件
我想将这个命令放入6.3中

谢谢

ldd /usr/bin/chattr

这个告诉你chattr这个程序还需要别的什么库。