12 その実行形式、どの macOS で動作するのか (調査中)

FreeFem++ で配布されている実行形式、どの macOS で動作するのか、 書いていない。以前はファイル名でバッチリわかったのに。


古いMacを処分したので、Macの台数が減って、 インストールされている macOS のバージョンが減っているので、 実機で試すことができない。

シェアド・ライブラリィを調べるのだろうか。

otool -L バイナリ

Display the names and version numbers of the shared libraries that the object file uses, as well as the shared library ID if the file is a shared library.

% otool -L /Applications/FreeFem++.app/Contents/ff-4.12/bin/FreeFem++
/Applications/FreeFem++.app/Contents/ff-4.12/bin/FreeFem++:
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libspqr.2.1.0.dylib (compatibility version 2.0.0, current version 2.1.0)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libumfpack.5.7.9.dylib (compatibility version 5.0.0, current version 5.7.9)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libklu.1.3.8.dylib (compatibility version 1.0.0, current version 1.3.8)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libcholmod.3.0.14.dylib (compatibility version 3.0.0, current version 3.0.14)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libbtf.1.2.6.dylib (compatibility version 1.0.0, current version 1.2.6)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libccolamd.2.9.6.dylib (compatibility version 2.0.0, current version 2.9.6)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libcolamd.2.9.6.dylib (compatibility version 2.0.0, current version 2.9.6)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libcamd.2.4.6.dylib (compatibility version 2.0.0, current version 2.4.6)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libamd.2.4.6.dylib (compatibility version 2.0.0, current version 2.4.6)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libsuitesparseconfig.5.13.0.dylib (compatibility version 5.0.0, current version 5.13.0)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libmetis.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Applications/FreeFem++.app/Contents/ff-4.12/ff-petsc/r/lib/libarpack.2.1.0.dylib (compatibility version 2.0.0, current version 2.1.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 1319.0.0)
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/FreeFem++.app/Contents/ff-4.12/gnu/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/Applications/FreeFem++.app/Contents/ff-4.12/gnu/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/FreeFem++.app/Contents/ff-4.12/lib/libhdf5_hl.200.dylib (compatibility version 202.0.0, current version 202.0.0)
	/Applications/FreeFem++.app/Contents/ff-4.12/lib/libhdf5.200.dylib (compatibility version 203.0.0, current version 203.0.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
(base) mk@katsuradanoMacBook-Air work %

/Applications/FreeFem++.app の下にあるのは、 一緒にインストールされるわけだから、それ以外のものが問題になるのかな?

/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 1319.0.0)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)

sudo bmmap プロセスID



桂田 祐史