将 usocket 快速加载到 Clozure Common Lisp 时出现以下错误
Clozure Common Lisp Version 1.12.1 (v1.12.1) DarwinX8664
For more information about CCL, please see http://ccl.clozure.com.
CCL is free software. It is distributed under the terms of the Apache Licence, Version 2.0.
? (ql:quickload 'usocket)
To load "usocket":
Load 1 ASDF system:
usocket
; Loading "usocket"
Read error between positions 66 and 163 in /Users/markklein/quicklisp/dists/quicklisp/software/usocket-0.8.3/backend/openmcl.lisp.
Error: Foreign function not found: X86-DARWIN64::|gethostname|
While executing: CCL::LOAD-EXTERNAL-FUNCTION, in process Listener(4).
Type cmd-. to abort, cmd-\ for a list of available restarts.
Type :? for other options.
我正在使用带有 Mac OS 10.14.1 的 Macbook Pro,我今天从 CCL 1.12-dev 升级到 CCL 1.12.1,所以也许这就是导致问题的原因。
关于如何解决这个问题的任何建议?
我尝试下载 clozure CL 的 Mac App Store 版本,但崩溃了:
Unhandled exception 10 at 0x7fff67416a1d, context->regs at #x7ffeefbfdc00
Exception occurred while executing foreign code
at objc_msgSend + 29
received signal 10; faulting address: 0x7fff00000018
? for help
[1283] Clozure CL kernel debugger:
解决这个问题也可能完成这项工作。