<div dir="ltr">Hello, everybody!<div><br></div><div>I continue to test ECL and wanted to create a small webservice, compiled into a binary.</div><div><br></div><div>But I discovered, that my binary fails with this error:</div><div><br></div><div><div>Condition of type: SIMPLE-ERROR</div><div>Package ((SB-BSD-SOCKETS . #<SB-BSD-SOCKETS package>)) referenced in compiled file</div><div>  NIL</div><div>but has not been created</div><div>Available restarts:</div><div><br></div><div>1. (IGNORE) Ignore the error, and try the operation again</div><div><br></div><div>This error is similar to cffi and uiop problem, I wrote recently (<a href="https://mailman.common-lisp.net/pipermail/ecl-devel/2016-June/011119.html">https://mailman.common-lisp.net/pipermail/ecl-devel/2016-June/011119.html</a>).</div><div><br></div><div>But a trick with making package immutable, like this <span style="color:rgb(0,0,0);white-space:pre-wrap">(asdf:register-immutable-system "</span>SB-BSD-SOCKETS<span style="color:rgb(0,0,0);white-space:pre-wrap">") does not work now.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Tested on Ubuntu ECL </span>16.1.4 and OSX 16.1.2.</div><div><br></div><div>Full example is available in <a href="https://github.com/svetlyak40wt/test-ecl">https://github.com/svetlyak40wt/test-ecl</a> in branch try-web-app. To build a binary, you need to issue ./bootstrap && ./build commands, and after them, run ./test-ecl.</div><div><br></div><div>Why do I have this problem and how to fix it?</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alexander Artemenko (a.k.a. Svetlyak 40wt)<br>Blog: <a href="http://dev.svetlyak.ru" target="_blank">http://dev.svetlyak.ru</a><br>Photos: <a href="http://svetlyak.ru" target="_blank">http://svetlyak.ru</a><br>Jabber: <a href="mailto:svetlyak.40wt@gmail.com" target="_blank">svetlyak.40wt@gmail.com</a></div>
</div></div>