[tode_st] Just documenting issues while installing tODE in CentOS7 server

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

[tode_st] Just documenting issues while installing tODE in CentOS7 server

Mariano Martinez Peck
Dale,

1) Installed depenencies I have little problems because I already have GemTools running in this server, so I already had most of the dependencies. Just for documenting reasons, this is how I normally installed GemTools dependencies for CentOS 6.5 and 7:

sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686 mesa-libGL-devel-9.0-0.7.el6.i686 libX11-devel.i686 libXmu.i686



2) openssl problem

-------

create todeClient image using /opt/gsDevKitHome/gsDevKitHome/tode/sys/local/pharo/todeLoad.st
ioLoadModule(/opt/gsDevKitHome/gsDevKitHome/pharo/pharo-vm/libSqueakSSL.so):
  libssl.so.1.0.0: cannot open shared object file: No such file or directory

...RETRY->BaselineOfMetacello
...RETRY->BaselineOfMetacello'Errors in script loaded from /opt/gsDevKitHome/gsDevKitHome/tode/sys/local/pharo/todeLoad.st'
ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)
ZdcPluginSSLSession>>initialize in Block: [ :exception | ...
BlockClosure>>cull:

----------

Look at this output:

[marianopeck@server ~]$ ls -lat /usr/lib | grep libssl
lrwxrwxrwx  1 root root      16 Aug 11 11:24 libssl.so.10 -> libssl.so.1.0.1e
lrwxrwxrwx  1 root root      22 Aug 11 11:24 .libssl.so.10.hmac -> .libssl.so.1.0.1e.hmac
-rw-r--r--  1 root root      65 Jun 29 08:42 .libssl.so.1.0.1e.hmac
-rwxr-xr-x  1 root root  416800 Jun 29 08:42 libssl.so.1.0.1e
lrwxrwxrwx  1 root root      16 Feb 15  2015 libssl.so.6 -> libssl.so.0.9.8e
lrwxrwxrwx  1 root root      22 Feb 15  2015 .libssl.so.6.hmac -> .libssl.so.0.9.8e.hmac
-rwxr-xr-x  1 root root  314668 Jun 24  2014 libssl.so.0.9.8e
-rw-r--r--  1 root root      65 Jun 24  2014 .libssl.so.0.9.8e.hmac

So I had to do "cd /usr/lib" and then "sudo ln -s  libssl.so.0.9.8e libssl.so.1.0.0" 

Note that it's not THAT easy to know which lib should be linked as otherwise (like using the very latest libssl.so.1.0.1e) it will throw another error: "`OPENSSL_1.0.0' not found"

Also, I happened I had that lib already installed but if not, you must install it via yum. 

3) libpam problem

ioLoadModule(/opt/gsDevKitHome/gsDevKitHome/pharo/pharo-vm/libgcirpc-3.1.0.6-32.so):
  libpam.so.0: cannot open shared object file: No such file or directory
Error: External module not found
Gci64bit31x(Object)>>error:
Gci64bit31x(Object)>>externalCallFailed
Gci64bit31x(GciLibrary)>>apiGciInit
TDSessionDescription>>gciLibrary

Doing "sudo yum install pam.i686" triggered error:      " Protected multilib versions: pam-1.1.8-12.el7_1.1.i686 != pam-1.1.8-12.el7.x86_64"

So I first must update pam.x86_64 AND THEN install i68s:

sudo yum upgrade pam.x86_64
sudo yum install pam.i686


After all this, I was able to make  todeClient image and open it via X11 forward. 


Dale, feel free to somehow put this in a issue, a doc, whatever.




Cheers, 

--

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] Just documenting issues while installing tODE in CentOS7 server

Dale Henrichs-3
Thanks!

https://github.com/GsDevKit/gsDevKitHome/issues/88

On 9/16/15 6:44 PM, Mariano Martinez Peck wrote:
Dale,

1) Installed depenencies I have little problems because I already have GemTools running in this server, so I already had most of the dependencies. Just for documenting reasons, this is how I normally installed GemTools dependencies for CentOS 6.5 and 7:

sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686 mesa-libGL-devel-9.0-0.7.el6.i686 libX11-devel.i686 libXmu.i686



2) openssl problem

-------

create todeClient image using /opt/gsDevKitHome/gsDevKitHome/tode/sys/local/pharo/todeLoad.st
ioLoadModule(/opt/gsDevKitHome/gsDevKitHome/pharo/pharo-vm/libSqueakSSL.so):
  libssl.so.1.0.0: cannot open shared object file: No such file or directory

...RETRY->BaselineOfMetacello
...RETRY->BaselineOfMetacello'Errors in script loaded from /opt/gsDevKitHome/gsDevKitHome/tode/sys/local/pharo/todeLoad.st'
ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)
ZdcPluginSSLSession>>initialize in Block: [ :exception | ...
BlockClosure>>cull:

----------

Look at this output:

[marianopeck@server ~]$ ls -lat /usr/lib | grep libssl
lrwxrwxrwx  1 root root      16 Aug 11 11:24 libssl.so.10 -> libssl.so.1.0.1e
lrwxrwxrwx  1 root root      22 Aug 11 11:24 .libssl.so.10.hmac -> .libssl.so.1.0.1e.hmac
-rw-r--r--  1 root root      65 Jun 29 08:42 .libssl.so.1.0.1e.hmac
-rwxr-xr-x  1 root root  416800 Jun 29 08:42 libssl.so.1.0.1e
lrwxrwxrwx  1 root root      16 Feb 15  2015 libssl.so.6 -> libssl.so.0.9.8e
lrwxrwxrwx  1 root root      22 Feb 15  2015 .libssl.so.6.hmac -> .libssl.so.0.9.8e.hmac
-rwxr-xr-x  1 root root  314668 Jun 24  2014 libssl.so.0.9.8e
-rw-r--r--  1 root root      65 Jun 24  2014 .libssl.so.0.9.8e.hmac

So I had to do "cd /usr/lib" and then "sudo ln -s  libssl.so.0.9.8e libssl.so.1.0.0" 

Note that it's not THAT easy to know which lib should be linked as otherwise (like using the very latest libssl.so.1.0.1e) it will throw another error: "`OPENSSL_1.0.0' not found"

Also, I happened I had that lib already installed but if not, you must install it via yum. 

3) libpam problem

ioLoadModule(/opt/gsDevKitHome/gsDevKitHome/pharo/pharo-vm/libgcirpc-3.1.0.6-32.so):
  libpam.so.0: cannot open shared object file: No such file or directory
Error: External module not found
Gci64bit31x(Object)>>error:
Gci64bit31x(Object)>>externalCallFailed
Gci64bit31x(GciLibrary)>>apiGciInit
TDSessionDescription>>gciLibrary

Doing "sudo yum install pam.i686" triggered error:      " Protected multilib versions: pam-1.1.8-12.el7_1.1.i686 != pam-1.1.8-12.el7.x86_64"

So I first must update pam.x86_64 AND THEN install i68s:

sudo yum upgrade pam.x86_64
sudo yum install pam.i686


After all this, I was able to make  todeClient image and open it via X11 forward. 

            

            Dale, feel free to somehow put this in a issue, a doc,
            whatever.
            

            

          


Cheers, 

--
--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.