install_name_tool reporting malformed object

喜夏-厌秋 提交于 2019-12-03 06:32:27
Maarten O.

Apparently install_name_tool is not updated when XCode is updated. You need to install the Command Line Tools from XCode Preferences. See also install_name_tool on OS X Lion. This resolved the same error for me.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!