<div dir="ltr">Hello Alexander,<div><br></div><div>Take a look at this issue: <a href="https://gitlab.com/embeddable-common-lisp/ecl/issues/216">https://gitlab.com/embeddable-common-lisp/ecl/issues/216</a></div><div><br></div><div>Daniel's suggestion of requiring :sb-bsd-sockets worked for me. I think this an ecl specific version of sb-bsd-sockets that works.</div><div><br></div><div>Best regards,</div><div>Diogo Franco</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 July 2016 at 13:00,  <span dir="ltr"><<a href="mailto:ecl-devel-request@common-lisp.net" target="_blank">ecl-devel-request@common-lisp.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send ecl-devel mailing list submissions to<br>
        <a href="mailto:ecl-devel@common-lisp.net">ecl-devel@common-lisp.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mailman.common-lisp.net/listinfo/ecl-devel" rel="noreferrer" target="_blank">https://mailman.common-lisp.net/listinfo/ecl-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:ecl-devel-request@common-lisp.net">ecl-devel-request@common-lisp.net</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ecl-devel-owner@common-lisp.net">ecl-devel-owner@common-lisp.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ecl-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Using Hunchentoot from a binary, compiled with ECL<br>
      (Alexander Artemenko)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 5 Jul 2016 16:49:59 +0300<br>
From: Alexander Artemenko <<a href="mailto:svetlyak.40wt@gmail.com">svetlyak.40wt@gmail.com</a>><br>
To: <a href="mailto:ecl-devel@common-lisp.net">ecl-devel@common-lisp.net</a><br>
Subject: Using Hunchentoot from a binary, compiled with ECL<br>
Message-ID:<br>
        <CA+GmUUJsHW0fao=<a href="mailto:Pz-BBL1o1s4gSKoVESDhgkJ5%2BjZTzQusTnQ@mail.gmail.com">Pz-BBL1o1s4gSKoVESDhgkJ5+jZTzQusTnQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello, everybody!<br>
<br>
I continue to test ECL and wanted to create a small webservice, compiled<br>
into a binary.<br>
<br>
But I discovered, that my binary fails with this error:<br>
<br>
Condition of type: SIMPLE-ERROR<br>
Package ((SB-BSD-SOCKETS . #<SB-BSD-SOCKETS package>)) referenced in<br>
compiled file<br>
  NIL<br>
but has not been created<br>
Available restarts:<br>
<br>
1. (IGNORE) Ignore the error, and try the operation again<br>
<br>
This error is similar to cffi and uiop problem, I wrote recently (<br>
<a href="https://mailman.common-lisp.net/pipermail/ecl-devel/2016-June/011119.html" rel="noreferrer" target="_blank">https://mailman.common-lisp.net/pipermail/ecl-devel/2016-June/011119.html</a>).<br>
<br>
But a trick with making package immutable, like this<br>
(asdf:register-immutable-system<br>
"SB-BSD-SOCKETS") does not work now.<br>
<br>
Tested on Ubuntu ECL 16.1.4 and OSX 16.1.2.<br>
<br>
Full example is available in <a href="https://github.com/svetlyak40wt/test-ecl" rel="noreferrer" target="_blank">https://github.com/svetlyak40wt/test-ecl</a> in<br>
branch try-web-app. To build a binary, you need to issue ./bootstrap &&<br>
./build commands, and after them, run ./test-ecl.<br>
<br>
Why do I have this problem and how to fix it?<br>
<br>
--<br>
Alexander Artemenko (a.k.a. Svetlyak 40wt)<br>
Blog: <a href="http://dev.svetlyak.ru" rel="noreferrer" target="_blank">http://dev.svetlyak.ru</a><br>
Photos: <a href="http://svetlyak.ru" rel="noreferrer" target="_blank">http://svetlyak.ru</a><br>
Jabber: <a href="mailto:svetlyak.40wt@gmail.com">svetlyak.40wt@gmail.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20160705/c8799bec/attachment-0001.html" rel="noreferrer" target="_blank">https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20160705/c8799bec/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
ecl-devel mailing list<br>
<a href="mailto:ecl-devel@common-lisp.net">ecl-devel@common-lisp.net</a><br>
<a href="https://mailman.common-lisp.net/listinfo/ecl-devel" rel="noreferrer" target="_blank">https://mailman.common-lisp.net/listinfo/ecl-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ecl-devel Digest, Vol 12, Issue 1<br>
****************************************<br>
</blockquote></div><br></div>