あどけない話

Internet technologies

libedit

今日の Emacs 22 on MacOS (Leopard) で書いた問題の原因が分りました。

GHC をインストール際に、readline もインストールしました。これが誤って、/usr/lib にインストールされたようです。

/usr/lib/libreadline.dylib は、libedit.2.dylib へのシンボリックリンクなので、libreadline.dylib を上書きすると、libedit.2.dylib が上書きされていたのでした。

オリジナルの /usr/lib/libedit.2.dylib をコピーしたら直りました。

dirmngr

GPGSM の dirmngr が動くようになったという話を聞いたので、実験してみたところ、やっぱり動きませんでした。

gpgsm: Signature made 2008-02-13 10:02:15 using certificate ID 0x0FD0D521
dirmngr[52362]: permanently loaded certificates: 0
dirmngr[52362]:     runtime cached certificates: 0
dirmngr[52362]: no CRL available for issuer id 7A89F3426CF4EEA26F1A6196E0C8A4786E4BB28E
dirmngr[52362]: CRL issuer certificate not found
dirmngr[52362]: crl_parse_insert failed: Missing certificate
dirmngr[52362]: crl_cache_insert via DP failed: Missing certificate
dirmngr[52362]: command ISVALID failed: Missing certificate
gpgsm: certificate #1693/CN=members oriented CA 02,O=WIDE Project,C=JP
gpgsm: checking the CRL failed: Missing certificate
gpgsm: invalid certification chain: Missing certificate

ネットワークを切ると、エラーが以下のように変わるので、CRL ファイル自体は HTTP で取れているようです。

gpgsm: Signature made 2008-02-13 10:02:15 using certificate ID 0x0FD0D521
dirmngr[52371]: permanently loaded certificates: 0
dirmngr[52371]:     runtime cached certificates: 0
dirmngr[52371]: no CRL available for issuer id 7A89F3426CF4EEA26F1A6196E0C8A4786E4BB28E
dirmngr[52371]: can't connect to `www.moca.wide.ad.jp': host not found
dirmngr[52371]: error retrieving `http://www.moca.wide.ad.jp/crl.crl': Not found
dirmngr[52371]: crl_fetch via DP failed: Not found
dirmngr[52371]: command ISVALID failed: Not found
gpgsm: certificate #1693/CN=members oriented CA 02,O=WIDE Project,C=JP
gpgsm: checking the CRL failed: Not found
gpgsm: invalid certification chain: Not found

先は長そうですね。。。