Hello Alexander,

Take a look at this issue: https://gitlab.com/embeddable-common-lisp/ecl/issues/216

Daniel's suggestion of requiring :sb-bsd-sockets worked for me. I think this an ecl specific version of sb-bsd-sockets that works.

Best regards,
Diogo Franco

On 6 July 2016 at 13:00, <ecl-devel-request@common-lisp.net> wrote:
Send ecl-devel mailing list submissions to
        ecl-devel@common-lisp.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://mailman.common-lisp.net/listinfo/ecl-devel
or, via email, send a message with subject or body 'help' to
        ecl-devel-request@common-lisp.net

You can reach the person managing the list at
        ecl-devel-owner@common-lisp.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ecl-devel digest..."


Today's Topics:

   1. Using Hunchentoot from a binary, compiled with ECL
      (Alexander Artemenko)


----------------------------------------------------------------------

Message: 1
Date: Tue, 5 Jul 2016 16:49:59 +0300
From: Alexander Artemenko <svetlyak.40wt@gmail.com>
To: ecl-devel@common-lisp.net
Subject: Using Hunchentoot from a binary, compiled with ECL
Message-ID:
        <CA+GmUUJsHW0fao=Pz-BBL1o1s4gSKoVESDhgkJ5+jZTzQusTnQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello, everybody!

I continue to test ECL and wanted to create a small webservice, compiled
into a binary.

But I discovered, that my binary fails with this error:

Condition of type: SIMPLE-ERROR
Package ((SB-BSD-SOCKETS . #<SB-BSD-SOCKETS package>)) referenced in
compiled file
  NIL
but has not been created
Available restarts:

1. (IGNORE) Ignore the error, and try the operation again

This error is similar to cffi and uiop problem, I wrote recently (
https://mailman.common-lisp.net/pipermail/ecl-devel/2016-June/011119.html).

But a trick with making package immutable, like this
(asdf:register-immutable-system
"SB-BSD-SOCKETS") does not work now.

Tested on Ubuntu ECL 16.1.4 and OSX 16.1.2.

Full example is available in https://github.com/svetlyak40wt/test-ecl in
branch try-web-app. To build a binary, you need to issue ./bootstrap &&
./build commands, and after them, run ./test-ecl.

Why do I have this problem and how to fix it?

--
Alexander Artemenko (a.k.a. Svetlyak 40wt)
Blog: http://dev.svetlyak.ru
Photos: http://svetlyak.ru
Jabber: svetlyak.40wt@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20160705/c8799bec/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
ecl-devel mailing list
ecl-devel@common-lisp.net
https://mailman.common-lisp.net/listinfo/ecl-devel


------------------------------

End of ecl-devel Digest, Vol 12, Issue 1
****************************************