<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><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. &nbsp;&nbsp; (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':<br>[......]/debugCogSqueakSSL/platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c:37: undefined reference to `BIO_ctrl_pending'</div><div><br></div><div>(more errors omitted for brevity. all of them are unresolved references to stuff in /usr/include/openssl/ssl.h &nbsp; . 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'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 plugins.int, I get the link failure above.</div><div><br></div><div>Since discovering this, I have tried two things&nbsp;</div><div>1. compile on my pure 64 bit partition...this failed for obvious reasons--we don'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>&nbsp; &nbsp; 2.a I made some changes that I kinda-sorta-hoped would work in some strings in the script that had the substring "/lib64 &nbsp;" 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&nbsp;<br></div><div><br></div><div>thx.</div><div><br></div><div>tty</div><div><br></div></div></body></html>