[squeak-dev] WebClient httpGet: 'http://freegeoip.net/json/' works on windows not linux

Chris Cunnington brasspen at gmail.com
Thu Feb 15 17:17:27 UTC 2018


You don’t have openssl installed. ldd told you that. 

libcrypto.so.1.0.0 => not found
libssl.so.1.0.0 => not found

You are using a 32-bit vm. Clearly you don’t have the related 32-bit libcrypto installed. 

chris at chris-Meerkat:~$ dpkg -l | grep libssl
ii  libssl1.0.0:amd64                          1.0.2g-1ubuntu4.10                           amd64        Secure Sockets Layer toolkit - shared libraries
ii  libssl1.0.0:i386                           1.0.2g-1ubuntu4.10                           i386         Secure Sockets Layer toolkit - shared libraries


Maybe you need to do this[1]: 

sudo dpkg --add-architecture i386; 
sudo apt-get update; 
sudo apt-get install libssl1.0.0:i386


As an aside, it’d be cool if SqueakSSL plugin had primitives to access libcrypto. As is, I think, that library is only used in relation to sockets. 

Chris 


[1] https://askubuntu.com/questions/252168/can-i-install-libssl-devi386-on-x86-64-system-without-losing-important-packag


More information about the Squeak-dev mailing list