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

Fabio Niephaus lists at fniephaus.com
Fri Feb 16 07:10:52 UTC 2018


Hi Lou,

Could you try again with one of the VMs at [1], for example [2].

Best,
Fabio

[1]
https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/201802061430
[2]
https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/201802061430/squeak.cog.spur_linux32ARMv6_itimer_201802061430.tar.gz


-- 

On Thu, Feb 15, 2018 at 4:19 PM Louis LaBrunda <Lou at keystone-software.com>
wrote:

> Hi Fabio,
>
> Thanks for the reply.  There is a file called SqueakSSL (no .so) in the
> /home/pi/squeak/bin
> folder.  When I run ldd SqueakSSL I get this:
>
>         linux-vdso.so.1 (0x7ef70000)
>         /usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f95000)
>         libcrypto.so.1.0.0 => not found
>         libssl.so.1.0.0 => not found
>         libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76e41000)
>         /lib/ld-linux-armhf.so.3 (0x76fbf000)
>
> I don't like that libcrypto.so.1.0.0 and libssl.so.1.0.0 are not found but
> I don't know what to
> do about it.  Any ideas?
>
> Lou
>
>
> On Wed, 14 Feb 2018 22:18:30 +0000, Fabio Niephaus <lists at fniephaus.com>
> wrote:
>
> >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
> >>
> >>
> >>
> --
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180216/3f52c1ee/attachment.html>


More information about the Squeak-dev mailing list