Login  Register

Re: What's wrong with latest Pharo?

Posted by Sven Van Caekenberghe-2 on Apr 01, 2019; 2:16pm
URL: https://forum.world.st/What-s-wrong-with-latest-Pharo-tp5097766p5097790.html

This is basic Pharo I am talking about, not each and every plugin.

$ ldd pharo-vm/lib/pharo/5.0-201901051900/pharo
        linux-vdso.so.1 (0x00007fff789b2000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f010c0ee000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f010bd50000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f010bb31000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f010b740000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f010c2f2000)

libgit2 seems to be using libcurl (and many more)

$ ldd pharo-vm/lib/pharo/5.0-201901051900/libgit2.so
        linux-vdso.so.1 (0x00007ffc8dec3000)
        libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f4057393000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4057176000)
        libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f4056f0e000)
        libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f4056acb000)
        libssh2.so.1 => not found
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f40568c3000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f40566a4000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f40562b3000)
        libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f405608e000)
        libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f4055e71000)
        librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f4055c55000)
        libpsl.so.5 => /usr/lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f4055a47000)
        libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f4055811000)
        libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f40554ac000)
        libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f4055261000)
        libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f405500f000)
        liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f4054e01000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4054bfd000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f4057953000)
        libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f405487f000)
        libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007f405464b000)
        libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f40543ca000)
        libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f405409b000)
        libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f4053e88000)
        libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f4053bb2000)
        libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f4053980000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f405377c000)
        libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f4053571000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f4053356000)
        libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f405313b000)
        libgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007f4052efa000)
        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f4052cf2000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f4052aee000)
        libheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0 (0x00007f40528e5000)
        libkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007f4052658000)
        libasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f40523b6000)
        libhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4 (0x00007f4052180000)
        libroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18 (0x00007f4051f6a000)
        libwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0 (0x00007f4051d41000)
        libheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1 (0x00007f4051b32000)
        libhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5 (0x00007f40518e8000)
        libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f40515df000)
        libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f40513a7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4051009000)

> On 1 Apr 2019, at 15:47, Vitor Medina Cruz <[hidden email]> wrote:
>
> I am surprised you managed to make it work Sven, I tried some time ago but it wont work because of a problem with libcurl as far as I am concerned (https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1754686 and https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1754294)
>
> Was libcurl dependency removed from Pharo?
>
> On Mon, Apr 1, 2019 at 10:18 AM Sven Van Caekenberghe <[hidden email]> wrote:
> Don't be silly, of course it works. Hundreds of people have these, 99% of all servers are Linux, as are 99% of all CI jobs.
>
> Running Linux servers requires a certain level of expertise.
>
> $ cat /etc/issue
> Ubuntu 18.04.2 LTS \n \l
>
> $ uname -a
> Linux audio359 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> $ curl get.pharo.org/64/70+vm | bash
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100  3054  100  3054    0     0  32147      0 --:--:-- --:--:-- --:--:-- 32147
> Downloading the latest 70 Image:
>     http://files.pharo.org/get-files/70/pharo64.zip
> Pharo.image
> Downloading the latest pharoVM:
>         http://files.pharo.org/get-files/70/pharo64-linux-stable.zip
> pharo-vm/pharo
> Creating starter scripts pharo and pharo-ui
>
> $ ./pharo Pharo.image printVersion
> [version] 'Pharo7.0.2' 'Pharo-7.0.2+build.152.sha.890f474a81f116ead0e68c8de77790aef4e9a752 (64 Bit)'
>
> $ ./pharo Pharo.image eval '42 factorial'
> 1405006117752879898543142606244511569936384000000000
>
> Many people are about your age, BTW.
>
> > On 1 Apr 2019, at 15:06, horrido <[hidden email]> wrote:
> >
> > This issue bit me in the ass before, but I forgot. Yes, I had a senior
> > moment.
> >
> > The issue is this: When I tried to run Pharo under Ubuntu Server 18.04 at
> > OVH last year, it failed. I had to fall back to Ubuntu Server 16.04.
> >
> > This week, I tried to run Pharo under Ubuntu Server 18.04 at Google Cloud
> > Platform and it failed. Again, I had to fall back to Ubuntu Server 16.04.
> >
> > Why does this issue keep biting me in the ass??? Because I'm 65 and my brain
> > is dying.
> >
> > The bigger issue is this: Hosting services like Digital Ocean, OVH, and
> > Google Cloud Platform are becoming increasingly important in the enterprise
> > space. If Pharo can't run on these server operating systems, it's going to
> > be a black eye for the language. We can get away with not supporting this
> > for now, but it will eventually catch up with us.
> >
> > At Google Cloud Platform, for example, the user can choose from this list of
> > hosts: Debian GNU/Linux 9 (Stretch), CentOS 6, CentOS 7, various versions of
> > CoreOS, Ubuntu 14.04 LTS Minimal, Ubuntu 16.04 LTS Minimal, Ubuntu 18.04 LTS
> > Minimal, Ubuntu 18.10 Minimal, various versions of Red Hat, various versions
> > of SUSE, various versions of Window, and so on. It's a long list. *I
> > strongly suspect that many of these are unusable with Pharo.*
> >
> > How to address this? I don't know. But if it's not a major problem now, it
> > will be. It's bitten me in the ass twice, and I can't be alone.
> >
> > I'm giving a fair warning to everyone. Don't lash back at me – I'm just the
> > canary in the coal mine.
> >
> >
> >
> >
> > Tim Mackinnon wrote
> >> Come on, let’s try not to be dismissive , we’ve all had that annoying
> >> moment where something doesn’t work.
> >>
> >> Richard, was this installed with zero conf or Launcher, and as mentioned -
> >> a Linux distro is going to be helpful.
> >>
> >> I’m assuming it worked before at some point for you right? But was that v6
> >> and now you’re trying v7?
> >>
> >> Tim
> >>
> >>
> >> Sent from my iPhone
> >>
> >>> On 31 Mar 2019, at 23:46, john pfersich &lt;
> >
> >> jpfersich@
> >
> >> &gt; wrote:
> >>>
> >>> What Linux (distro and version) and which version of Pharo. You couldn’t
> >>> supply less information if you tried.
> >>>
> >>>
> >>> /*—————————————————-*/
> >>> Sent from my iPhone
> >>> https://boincstats.com/signature/-1/user/51616339056/sig.png
> >>> See https://objectnets.net and https://objectnets.org
> >>>
> >>>> On Mar 31, 2019, at 14:21, Richard Kenneth Eng &lt;
> >
> >> horrido.hobbies@
> >
> >> &gt; wrote:
> >>>>
> >>>> I just installed Pharo under Linux and when I start it up, I get:
> >>>>
> >>>> Error: External module not found
> >>>>
> >>>> It doesn't matter how I install Pharo.
> >
> >
> >
> >
> >
> > --
> > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>