<div dir="ltr"><div><div><br>If my memory serves me well, the ssl plugin makefiles designed only to work as external plugin, and it cannot be linked statically with VM, hence you got these errors.<br><br></div><div>Can&#39;t help with solving the problem, since i translated it once to work with Cmake<br>
to be part of Pharo VM and not quite willing to return to same problem again (i hope you understand very well why :)<br><br></div>Btw, you can just take a prebuilt pharo VM binary which comes with ssl plugin<br></div><div>
at <a href="http://get.pharo.org">get.pharo.org</a>.<br></div>Or try building yourself , as described in readme here:<br><a href="https://github.com/pharo-project/pharo-vm">https://github.com/pharo-project/pharo-vm</a><br>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 9 April 2014 21:40, gettimothy <span dir="ltr">&lt;<a href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><u></u><div><div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif"><div>Howdy all.<br></div><div>
<br></div><div>Building SqueakSSL compiles just fine, but fails at the libtool stage when compiled as an internal plugin.    (formatted for easier reading below. I replace full path with [......] where it helps clean up things)</div>
<div><br></div><div></div><br><blockquote style="border-top-color:rgb(204,204,204);border-left-color:rgb(204,204,204);border-right-color:rgb(204,204,204);border-bottom-color:rgb(204,204,204);border-top-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-width:1px;border-top-style:solid;border-left-style:solid;border-right-style:solid;border-bottom-style:solid;padding-top:7px;padding-right:7px;padding-bottom:7px;padding-left:7px;background-color:rgb(245,245,245)">
<div><div>/bin/sh</div><div>[......]/debugCogSqueakSSL/unixbuild/bld/libtool --mode=link gcc -m32 -g -Og -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -DITIMER_HEARTBEAT=1 -DCOGMTVM=0 -DDEBUGVM=0 -DLSB_FIRST=1  -Wl,-z,now  -export-dynamic -o squeak vm/vm.a AsynchFilePlugin/AsynchFilePlugin.a B2DPlugin/B2DPlugin.a BitBltPlugin/BitBltPlugin.a FilePlugin/FilePlugin.a SocketPlugin/SocketPlugin.a SqueakSSL/SqueakSSL.a MiscPrimitivePlugin/MiscPrimitivePlugin.a disabledPlugins.o version.o -lutil -ldl -lpthread -lm -lnsl -lpthread  vm/vm.a</div>
<div><br>gcc -m32 -g -Og -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -DITIMER_HEARTBEAT=1 -DCOGMTVM=0 -DDEBUGVM=0 -DLSB_FIRST=1 -Wl,-z -Wl,now -o squeak disabledPlugins.o version.o -Wl,--export-dynamic  vm/vm.a AsynchFilePlugin/AsynchFilePlugin.a B2DPlugin/B2DPlugin.a BitBltPlugin/BitBltPlugin.a FilePlugin/FilePlugin.a SocketPlugin/SocketPlugin.a SqueakSSL/SqueakSSL.a MiscPrimitivePlugin/MiscPrimitivePlugin.a -lutil -ldl -lpthread -lm -lnsl -lpthread vm/vm.a<br>
</div><div><br></div><div>SqueakSSL/SqueakSSL.a(sqUnixOpenSSL.o): In function `sqCopyBioSSL&#39;:<br>[......]/debugCogSqueakSSL/platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c:37: undefined reference to `BIO_ctrl_pending&#39;</div>
<div><br></div><div>(more errors omitted for brevity. all of them are unresolved references to stuff in /usr/include/openssl/ssl.h   . these errors do not happen at compile time, only libtool ing )</div></div></blockquote>
 <div><br></div><div><br></div><div>Here is what I think is going on with SqueakSSL on linux.</div><div>SqueakSSL is normally built as an external plugin. My guess external plugins are loaded and linked at load time. Since the thing compiles fine, we don&#39;t find the link error and we just get a primitive fail.</div>
<div><br></div><div>However, when I moved it from plugins.ext to <a href="http://plugins.int" target="_blank">plugins.int</a>, I get the link failure above.</div><div><br></div><div>Since discovering this, I have tried two things </div>
<div>1. compile on my pure 64 bit partition...this failed for obvious reasons--we don&#39;t have 64 bit Cog yet (: but hey...a guy can hope!</div><div>2. I installed openssl compat32 libs alongside the 64 bit versions...as show below.</div>
<div>    2.a I made some changes that I kinda-sorta-hoped would work in some strings in the script that had the substring &quot;/lib64  &quot; but that did not work.</div><div></div><br><blockquote style="border-top-color:rgb(204,204,204);border-left-color:rgb(204,204,204);border-right-color:rgb(204,204,204);border-bottom-color:rgb(204,204,204);border-top-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-width:1px;border-top-style:solid;border-left-style:solid;border-right-style:solid;border-bottom-style:solid;padding-top:7px;padding-right:7px;padding-bottom:7px;padding-left:7px;background-color:rgb(245,245,245)">
<div><div>bash-4.2$ ls lib/*ssl*<br>lib/libssl.so.0  lib/libssl.so.0.9.8  lib/libssl.so.1  lib/libssl.so.1.0.0<br>bash-4.2$ ls lib64/*ssl*<br>lib64/libssl.so.0  lib64/libssl.so.0.9.8  lib64/libssl.so.1  lib64/libssl.so.1.0.0<br>
</div></div></blockquote><div> I will have to think about this a bit, but I just wanted to post this update in case I am missing something glaringly obvious <br></div><div><br></div><div>thx.</div><div><br></div><div>tty</div>
<div><br></div></div></div><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Igor Stasenko.
</div>