install_name_tool reporting malformed object

前端 未结 2 1020
暗喜
暗喜 2021-02-08 22:33

Everytime I try to use install_name_tool on my machine it reports the following

install_name_tool: object: Abacate malformed object (unknown load command 4)
         


        
2条回答
  •  爱一瞬间的悲伤
    2021-02-08 22:59

    Managed to make it work with Mac OS 10.9.3

    https://github.com/Homebrew/homebrew/issues/26544

    $$:~ otool -L /usr/bin/install_name_tool

    /usr/bin/install_name_tool: /usr/lib/libxcselect.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

    $$:~ pkgutil --file-info /usr/bin/install_name_tool

    volume: / path: /usr/bin/install_name_tool pkgid: com.apple.pkg.Essentials pkg-version: 10.9.0.1.1.1306847324 install-time: 1390577801 uid: 0 gid: 0 mode: 755

    No more errors on wget:

    $$:~ wget dyld: Library not loaded:

    @@HOMEBREW_PREFIX@@/opt/openssl/lib/libssl.1.0.0.dylib Referenced from: /usr/local/bin/wget Reason: image not found

提交回复
热议问题