<br><br><div class="gmail_quote">On Thu, Apr 18, 2013 at 2:56 PM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.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="HOEnZb"><div class="h5"><br>
On 18 April 2013 21:40, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On 18 April 2013 22:09, Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 12 April 2013 12:40, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Fri, Apr 12, 2013 at 09:31:08AM +0400, Nikolay Suslov wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;&gt; Trying compiling the latest CogVM on linux CentOS 6.3 x64 with enabled<br>
&gt;&gt;&gt;&gt; SqueakSSL plugin. Everything is gone ok, I get the vm and the plugin.<br>
&gt;&gt;&gt;&gt; But the SqueakSSL primitive (create) fails signalling on the terminal:<br>
&gt;&gt;&gt;&gt; SqueakSSL: undefined symbol: SSL_connect<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; What could be wrong?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It means that the function SSL_connect, which is declared in the ssh.h<br>
&gt;&gt;&gt; header file at compile time, could not be dynamically loaded at run time.<br>
&gt;&gt;&gt; This might be the case if the necessary library is not installed on your<br>
&gt;&gt;&gt; system, or if you have a 64 bit OS and do not have the 32 bit version of<br>
&gt;&gt;&gt; the library installed (which would be required for Cog).<br>
&gt;&gt;<br>
&gt;&gt; Could this also happen if Cog was built with one version of openssl<br>
&gt;&gt; (say, 1.0.0) but the user only had 0.9.8?<br>
&gt;&gt;<br>
&gt; unlikely.. the code which used in pluging did not touched for years..<br>
&gt; if library API would change, then it would fail to compile in a first place<br>
<br>
</div></div>Hm, OK, that&#39;s kind&#39;ve good. I just have an image and VM that _used_<br>
to work, and don&#39;t anymore, but I&#39;ve not updated the image other than<br>
making my local changes, and it&#39;s a Cog 2714 which has SqueakSSL, and<br>
I now see SSL_connect errors all the time. These didn&#39;t used to<br>
happen.<br></blockquote><div><br></div><div>I build on quite an old linux system cuz that helps with these kinds of issues.  looks like I&#39;m linking against version 0.9.8:</div><div> </div><div><div>McStalker.oscogvm$ ssh mcqfes cat /etc/redhat-release</div>
<div>CentOS release 5.3 (Final)</div><div>McStalker.oscogvm$ ssh mcqfes uname -a</div><div>Linux mcqfes 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux</div><div>McStalker.oscogvm$ ssh mcqfes strings - /usr/lib/libssl.so | grep OpenSSL</div>
<div>OpenSSLDie</div><div>SSLv2 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</div><div>SSLv3 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</div><div>TLSv1 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</div><div>DTLSv1 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</div>
<div>OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</div><div>McStalker.oscogvm$ </div></div><div><div>McStalker.oscogvm$ ssh mcqfes /lib/libc.so.6</div><div>Warning: No xauth data; using fake authentication data for X11 forwarding.</div>
<div>GNU C Library stable release version 2.5, by Roland McGrath et al.</div><div>Copyright (C) 2006 Free Software Foundation, Inc.</div><div>This is free software; see the source for copying conditions.</div><div>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A</div>
<div>PARTICULAR PURPOSE.</div><div>Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-44).</div><div>Compiled on a Linux 2.6.9 system on 2009-02-18.</div><div>Available extensions:</div><div>        The C stubs add-on version 2.1.2.</div>
<div>        crypt add-on version 2.1 by Michael Glad and others</div><div>        GNU Libidn by Simon Josefsson</div><div>        GNU libio by Per Bothner</div><div>        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk</div>
<div>        Native POSIX Threads Library by Ulrich Drepper et al</div><div>        BIND-8.2.3-T5B</div><div>        RT using linux kernel aio</div><div>Thread-local storage support included.</div><div>For bug reporting instructions, please see:</div>
<div>&lt;<a href="http://www.gnu.org/software/libc/bugs.html">http://www.gnu.org/software/libc/bugs.html</a>&gt;.</div></div><div><br></div><div>I&#39;m open to building on something else; it&#39;s &quot;only&quot; a VM after all.  But so far this CentOS 5.3 has not provoked a storm of controversy.  I wish more libraries would provide the &quot;run me to print my version&quot; feature.</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;&gt; frank<br>
&gt;&gt;<br>
&gt;&gt;&gt; Dave<br>
&gt;&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best regards,<br>
&gt; Igor Stasenko.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>