Process: InstallAssistant_springboard [91953]
Path: /Applications/Install macOS Mojave.app/Contents/MacOS/InstallAssistant_springboard
Identifier: com.apple.InstallAssistant.Mojave
Version: ???
Build Info: InstallAssistant-1217000000000000~245
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: InstallAssistant_springboard [91953]
User ID: 501
Date/Time: 2019-04-09 23:14:06.791 +0800
OS Version: Mac OS X 10.11.6 (15G22010)
Report Version: 11
Anonymous UUID: 29837053-D3D5-4D65-3CA2-8B89F6DF053C
Time Awake Since Boot: 28000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /usr/local/lib/libwep
Referenced from: /Applications/Install macOS Mojave.app/Contents/MacOS/InstallAssistant_springboard
Reason: no suitable image found. Did find:
/usr/local/lib/libwep: mmap() error 1 at address=0x10B96F000, size=0x0000F000 segment=__TEXT in Segment::map() mapping /usr/local/lib/libwep
/usr/local/lib/libwep: mmap() error 1 at address=0x10B98F000, size=0x0000F000 segment=__TEXT in Segment::map() mapping /usr/local/lib/libwep
Binary Images:
0x7fff6526a000 - 0x7fff652a1a47 dyld (360.22) <6B9CD3BA-2D60-3629-A0CB-AB810F55E8DD> /usr/lib/dyld
0x7fff89b5c000 - 0x7fff89ebef3f libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
0x7fff8a735000 - 0x7fff8b35eff7 com.apple.AppKit (6.9 - 1404.47) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff8c6dc000 - 0x7fff8c6ddffb libSystem.B.dylib (1226.10.1) <9A358336-F9EE-301B-A00D-D91C591BA684> /usr/lib/libSystem.B.dylib
0x7fff8cb87000 - 0x7fff8cedbfff com.apple.Foundation (6.9 - 1259.32) <472CF0E0-E6AE-3330-86A5-849F120749E2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff8fbef000 - 0x7fff90065fff com.apple.CoreFoundation (6.9 - 1259.22) <53EFA4A7-4614-383E-BEEE-B8B9D9D19FFA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
解决办法:
重启进入安全模式(参考https://jingyan.baidu.com/article/c85b7a645239a0003bac959a.html),升级操作系统到10.14.4
打开app store安装最新版的xcode
关闭系统的SIP:(参考https://www.jianshu.com/p/fe78d2036192 )
点击工具里的终端(Terminal),打开后执行命令
csrutil disable
正常重启,进入系统,sudo chown -R $(whoami) /usr/local
打开命令行,安装xcode对应的commandslines
xcode-select --install
切换到CommandLineTools的目录,就可以brew install了:
sudo xcode-select -switch /Library/Developer/CommandLineTools
brew install mysql
---------------------
亲测可行