libedit.2.dylib にリンクしてる、一部のコマンドがおかしい。
追記: libedit.2.dylib 入れ直して解決した
こんな具合
% bc
dyld: Symbol not found: _history
Referenced from: /usr/bin/bc
Expected in: /usr/lib/libedit.2.dylib
zsh: trace trap bc
% dscl
dyld: Symbol not found: _history
Referenced from: /usr/bin/dscl
Expected in: /usr/lib/libedit.2.dylib
zsh: trace trap dscl
% ftp
dyld: Symbol not found: _history
Referenced from: /usr/bin/ftp
Expected in: /usr/lib/libedit.2.dylib
zsh: trace trap ftp
sqlite3 や ntpq などは問題なし
% otool -L /usr/bin/sqlite3
/usr/bin/sqlite3:
/usr/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.9.0)
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
% otool -L /usr/bin/ntpq
/usr/bin/ntpq:
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.9.0)
/usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
% /usr/bin/sqlite3
SQLite version 3.4.0
Enter ".help" for instructions
sqlite> .quit
% /usr/bin/ntpq
ntpq> help
ntpq commands:
addvars debug lopeers passociations rl
associations delay lpassociations passwd rmvars
authenticate exit lpeers peers rv
cl help mreadlist poll showvars
clearvars host mreadvar pstatus timeout
clocklist hostnames mrl quit version
clockvar keyid mrv raw writelist
cooked keytype ntpversion readlist writevar
cv lassociations opeers readvar
ntpq> quit
0 件のコメント:
コメントを投稿