Problem with SB-BSD-SOCKETS in standalone monolithic fasb file
I receive the following error when loading a standalone fasb file compiled with asdf:make-build:
Condition of type: SIMPLE-ERROR
Package ((SB-BSD-SOCKETS . #<SB-BSD-SOCKETS package>)) referenced in compiled file
NIL
but has not been created
The shortest way i find to replicate this is to create an empty file, example.lisp, and an example.asd file with the following contents:
(defsystem #:example
:name "example"
:version "0.0.0"
:serial t
:depends-on (#:usocket)
:components ((:file "example")))
Then compile it like so in the repl:
(load "~/quicklisp/setup.lisp")
(push #P"<current-dir>" asdf:*central-registry*)
(asdf:make-build :example :type :fasl :monolithic t
:move-here #P"<current-dir>")
That generates a file called example--all-systems.fasb, which gives the error when loaded without quicklisp loaded. I'm not sure why, but if i load quicklisp first, that it loads correctly.
This seems to be the same issue as this from 2014: http://permalink.gmane.org/gmane.lisp.ecl.general/10432
Anyone has any idea? Thanks!