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

Fabio Niephaus lists at fniephaus.com
Wed Feb 14 22:18:30 UTC 2018


On Wed, 14 Feb 2018 at 9:56 pm, Louis LaBrunda <Lou at keystone-software.com>
wrote:

> Hi Everyone,
>
> I use the following:
>
> Json readFrom: (ReadStream on: (WebClient httpGet: '
> http://freegeoip.net/json/', (WebClient
> httpGet: 'https://api.ipify.org') content) content utf8ToSqueak).
>
> to get latitude and longitude from the internet.  It works great on
> windows but not linux
> (Raspbian).  The #primitiveSSLCreate fails.  I expect something linux
> specific like some FFI or
> something is missing.  Anyone have any idea what?


What VM are you using? And what's the output of 'ldd SqueakSSL.so' in the
VM plugin directory?

Fabio


>
> Lou
> --
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180214/fa4d7741/attachment.html>


More information about the Squeak-dev mailing list