[Solved] Error: Foreign function not found: X86-DARWIN64::|gethostname|

Mark Klein Asks: Error: Foreign function not found: X86-DARWIN64::|gethostname|
I got the following error when quickloading usocket into 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:
; 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.

I am using a Macbook Pro with Mac OS 10.14.1 I upgraded today from CCL 1.12-dev to CCL 1.12.1, so maybe that’s what caused the problem.

Any suggestions on how I can fix this?

I tried downloading the Mac App Store version of clozure CL, but that crashed:

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:

A fix for this problem would also probably do the job.

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.