실행 파일이나 라이브러리의 의존성있는 라이브러리 목록을 보여줍니다.
ldd
Options
ldd recognizes the following options:
-d Check reference to data symbols.
-r Check reference to data and code symbols.
-s Display the search path used to locate the shared
libraries.
-v Display all dependency relationships.
-y symbol Display the module names where symbol is referenced
and also where symbol is defined.
ex)
$ ldd -v libkdutil_sl.sl
libkdutil_sl.sl:
find library=libCommonModule.sl; required by ./libkdutil_sl.sl
libCommonModule.sl => /kjb/lib/libCommonModule.sl
find library=libgate_sl.sl; required by ./libkdutil_sl.sl
libgate_sl.sl => /kjb/lib/libgate_sl.sl
find library=libibcomm.sl; required by ./libkdutil_sl.sl
Unable to find library 'libibcomm.sl'.
의존라이브러리가 없는경우 표시!!