ldd に代わるコマンド

Mac はどうやら Linux でいう ldd をするには違うコマンド(otool -L)を実行する必要があるらしい.

% otool -L  /Applications/GMT-6.2.0.app/Contents/Resources/bin/gmt
/Applications/GMT-6.2.0.app/Contents/Resources/bin/gmt:
	@executable_path/../lib/libgmt.6.dylib (compatibility version 6.0.0, current version 6.2.0)
	@executable_path/../lib/libnetcdf.19.dylib (compatibility version 19.0.0, current version 19.0.0)
	@executable_path/../lib/libcurl.4.dylib (compatibility version 12.0.0, current version 12.0.0)
	@executable_path/../lib/libgdal.29.dylib (compatibility version 30.0.0, current version 30.0.0)
	@executable_path/../lib/libgeos_c.1.dylib (compatibility version 16.0.0, current version 16.2.0)
	@executable_path/../lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.12.0)
	@executable_path/../lib/libfftw3f.3.dylib (compatibility version 10.0.0, current version 10.9.0)
	@executable_path/../lib/libfftw3f_threads.3.dylib (compatibility version 10.0.0, current version 10.9.0)
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5)
	@executable_path/../lib/libpostscriptlight.6.dylib (compatibility version 6.0.0, current version 6.2.0)
	@executable_path/../lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	@executable_path/../lib/libomp.dylib (compatibility version 5.0.0, current version 5.0.0)

Front page   Edit Diff Attach Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: 2021-10-24 (Sun) 13:22:58 (34d)