<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 5:55 PM, Yanni Chiu <span dir="ltr">&lt;<a href="mailto:yanni@rogers.com">yanni@rogers.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 06/10/10 8:30 PM, Eliot Miranda wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Have you checked that the plugin loads at all?  i.e. after you get the<br>
failure of primitiveSSLCreate and you list plugins is the SSL plugin<br>
included?  If not, then there&#39;s probably an undefined symbol and you may<br>
see an informative error message on the console or maybe able to trace<br>
through the plugin loading code to dlopen and get a useful error form that.<br>
</blockquote>
<br></div>
I should have mentioned that:<br>
    SmalltalkImage current listLoadedModules<br>
does not list SqueakSSL.<br></blockquote><div><br></div><div>Right.  So it failed to load.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
The only external plugin listed is:<br>
    &#39;LocalePlugin 9 June 2005 (e)&#39;<br>
<br>
I don&#39;t see any message on the console.<br>
<br>
I just tried stepping into the primitive in the image, and got nothing, so I guess you mean trace the plugin loading with a C-level debugger. It&#39;s been many years since I last fired up a C debugger. I wish there were a command line argument to enable a verbose trace or something.<br>
</blockquote><div><br></div><div>It might seem scary but it&#39;s not hard. </div><div>gdb Squeak.app</div><div>break dlopen</div><div>run</div><div><br></div><div>then type &quot;c&quot; (for continue) until the system is up and running (dlopen is used for lots of stuff other than the SSL plugin).  Then run your test above.  &quot;call printCallStack()&quot; will tell you whether you&#39;re calling dlopen in the context of an SSL primitive.  When you are in that context  and now do &quot;finish&quot; to finish execution of dlopen.  Then do &quot;printf &quot;%s\n&quot;, dlerror()&quot; to read the error message.  It /may/ tell you the undefined symbol.</div>
<div><br></div><div>HTH</div><div>Eliot</div></div><br>