ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

Offray Vladimir Luna Cárdenas-2
Hi,

I'm trying to deploy a small web app in Teapot, following the Enterprise
Pharo documentation and so, using Pharo 4 in the server. Installation
went fine, but when I try to actually use the app and I get this error:

ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin
missing ? OS libraries missing ?)

Looking at [1] I see that this is because Pharo VM is expecting to found
libssl at some place. My server is a virtual Debian 6 64 bits, as
provided by Digital Ocean. When I locate the missing library and make a
symbolic link using:

ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0

I still get this behavior:

ldd libSqueakSSL.so
        linux-gate.so.1 (0xf7747000)
        libssl.so.1.0.0 => not found
        libc.so.6 => /lib32/libc.so.6 (0xf758b000)
        /lib/ld-linux.so.2 (0xf774a000)

So, still is not finding the libssl.so.

[1]
https://stackoverflow.com/questions/12293670/zodiac-mail-sending-in-pharo-smalltalk

I don't know if this is related with running a 32 VM inside a Debian 64
bits distro, but running the chapter 2 example of the Enterprise Pharo,
I have not any problem like this one, on the same virtual server while
deploying the web app. How can I solve this?

Thanks,

Offray



Reply | Threaded
Open this post in threaded view
|

Re: ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

Sven Van Caekenberghe-2

> On 29 Jun 2017, at 06:20, Offray Vladimir Luna Cárdenas <[hidden email]> wrote:
>
> Hi,
>
> I'm trying to deploy a small web app in Teapot, following the Enterprise
> Pharo documentation and so, using Pharo 4 in the server. Installation
> went fine, but when I try to actually use the app and I get this error:
>
> ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin
> missing ? OS libraries missing ?)
>
> Looking at [1] I see that this is because Pharo VM is expecting to found
> libssl at some place. My server is a virtual Debian 6 64 bits, as
> provided by Digital Ocean. When I locate the missing library and make a
> symbolic link using:
>
> ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0
>
> I still get this behavior:
>
> ldd libSqueakSSL.so
>        linux-gate.so.1 (0xf7747000)
>        libssl.so.1.0.0 => not found
>        libc.so.6 => /lib32/libc.so.6 (0xf758b000)
>        /lib/ld-linux.so.2 (0xf774a000)
>
> So, still is not finding the libssl.so.
>
> [1]
> https://stackoverflow.com/questions/12293670/zodiac-mail-sending-in-pharo-smalltalk
>
> I don't know if this is related with running a 32 VM inside a Debian 64
> bits distro, but running the chapter 2 example of the Enterprise Pharo,
> I have not any problem like this one, on the same virtual server while
> deploying the web app. How can I solve this?

Probably you forgot

sudo apt-get install libssl1.0.0:i386

The following should be enough to run 32 bit pharo on 64 bit ubuntu

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

> Thanks,
>
> Offray
>
>
>