macholib can be used to analyze and edit Mach-O headers, the executable format used by Mac OS X. It is typically used as a dependency analysis tool, and also to rewrite dylib references in Mach-O headers to be @executable_path relative. Though this tool targets a platform specific file format, it is pure python code that is platform and endian independent.
macholib can be used to analyze and edit Mach-O headers, the executable format used by Mac OS X. It is typically used as a dependency analysis tool, and also to rewrite dylib references in Mach-O headers to be @executable_path relative. Though this tool targets a platform specific file format, it is pure python code that is platform and endian independent.
To install py311-macholib, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py311-macholib
To see what files were installed by py311-macholib, run:
port contents py311-macholib
To later upgrade py311-macholib, run:
sudo port selfupdate && sudo port upgrade py311-macholib
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.