[Vm-dev] correct 32bit libssl library for CentOS 7.2?

Bernhard Pieber bernhard at pieber.com
Sun Apr 17 07:54:24 UTC 2016


Hi,

I am using Pharo 4 on CentOS 7.2 and want to make an https request from the image, e.g.

ZnClient new
	url: 'https://www.google.com';
	get

I get the following error, stating the library libssl.so.1.0.0 is not found:
ioLoadModule(/home/pharo/test/pharo-vm/libSqueakSSL.so):
  libssl.so.1.0.0: Cannot open Shared-Object-File: File or directory not found

This is not entirely unexpected, because 32bit libraries need to be installed:
[pharo at centos-pharo test]$ ldd pharo-vm/libSqueakSSL.so 
	linux-gate.so.1 =>  (0xf77db000)
	libssl.so.1.0.0 => not found
	libc.so.6 => /lib/libc.so.6 (0xf7611000)
	/lib/ld-linux.so.2 (0xf77dc000)

I found the following very helpful list of libraries needed for CentOS 6.5:
https://github.com/philippeback/pharovm-centos65/blob/master/packages-to-install.txt

It includes openssl.i686 version 1.0.1e-16.el6_5.4, which I assume should provide the missing library file.

However, when I try to install I get the following error:
[pharo at centos-pharo test]$ sudo yum install openssl.i686
[sudo] password for pharo: 
Geladene Plugins: fastestmirror
base                                                                                                                                                          | 3.6 kB  00:00:00     
extras                                                                                                                                                        | 3.4 kB  00:00:00     
updates                                                                                                                                                       | 3.4 kB  00:00:00     
Loading mirror speeds from cached hostfile
 * base: mirror.23media.de
 * extras: mirror.23media.de
 * updates: ftp.plusline.de
No package openssl.i686 available.
Error: Nothing to do

I looks like the library was available for CentOS 6.5 but for 7.2 not anymore. I am not sure why. Heartbleed, maybe?

Googling did not bring up any solution so far. Any help would be greatly appreciated.

Bernhard


More information about the Vm-dev mailing list