Pharo 2.0 on Fedora 18

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

Pharo 2.0 on Fedora 18

Edwin Ancaer
Hello,

I'm running Pharo 2.0 on Fedora 18. I seem to have an issue with libssl.so which on my system is 1.0.1e, while libSquekSSL.so looks for version 0.9.8, as described here:Zodiac  mail sending in Pharo smalltalk .

Does anyone know how to solve this? Creating a symbolic link from 0.9.8 to 1.0.1e does not solve the problem

[edwin@ottopedi bin]# ldd libSqueakSSL.so
./libSqueakSSL.so: /lib/libssl.so.0.9.8: version `OPENSSL_0.9.8' not found (required by ./libSqueakSSL.so)
    linux-gate.so.1 =>  (0x001d2000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00161000)
    libc.so.6 => /lib/libc.so.6 (0x003a5000)
    libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00342000)
    libkrb5.so.3 => /lib/libkrb5.so.3 (0x001d3000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x009ec000)
    libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b76000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x002b3000)
    libcrypto.so.10 => /lib/libcrypto.so.10 (0x0068a000)
    libdl.so.2 => /lib/libdl.so.2 (0x0087a000)
    libz.so.1 => /lib/libz.so.1 (0x00300000)
    /lib/ld-linux.so.2 (0x4ed07000)
    libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00bcd000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c36000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0091d000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x002cc000)
    libselinux.so.1 => /lib/libselinux.so.1 (0x0097f000)
    libpcre.so.1 => /lib/libpcre.so.1 (0x0055b000)

 :

Is there anyone who managed to install the version 0.9.8 and 1.0.1e of the openssl rpm on the same machine? Or is nobidy on Fedora 18 using Pharo?

Thanks in advance,

Edwin Ancaer
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 2.0 on Fedora 18

EstebanLM
Hi,

That's a hard reference, sadly. 
You need to install 0.9.8 (32bits) in your distribution. I don't know how to do it in fedora, but on ubiuntu is usually plain simple... probably in fedora is also available with the apt-get equivalent tool :)

cheers, 
Esteban

On Aug 5, 2013, at 6:43 AM, edwin ancaer <[hidden email]> wrote:

Hello,

I'm running Pharo 2.0 on Fedora 18. I seem to have an issue with libssl.so which on my system is 1.0.1e, while libSquekSSL.so looks for version 0.9.8, as described here:Zodiac  mail sending in Pharo smalltalk .

Does anyone know how to solve this? Creating a symbolic link from 0.9.8 to 1.0.1e does not solve the problem

[edwin@ottopedi bin]# ldd libSqueakSSL.so
./libSqueakSSL.so: /lib/libssl.so.0.9.8: version `OPENSSL_0.9.8' not found (required by ./libSqueakSSL.so)
    linux-gate.so.1 =>  (0x001d2000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00161000)
    libc.so.6 => /lib/libc.so.6 (0x003a5000)
    libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00342000)
    libkrb5.so.3 => /lib/libkrb5.so.3 (0x001d3000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x009ec000)
    libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b76000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x002b3000)
    libcrypto.so.10 => /lib/libcrypto.so.10 (0x0068a000)
    libdl.so.2 => /lib/libdl.so.2 (0x0087a000)
    libz.so.1 => /lib/libz.so.1 (0x00300000)
    /lib/ld-linux.so.2 (0x4ed07000)
    libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00bcd000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c36000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0091d000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x002cc000)
    libselinux.so.1 => /lib/libselinux.so.1 (0x0097f000)
    libpcre.so.1 => /lib/libpcre.so.1 (0x0055b000)

 :

Is there anyone who managed to install the version 0.9.8 and 1.0.1e of the openssl rpm on the same machine? Or is nobidy on Fedora 18 using Pharo?

Thanks in advance,

Edwin Ancaer

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 2.0 on Fedora 18

Mariano Martinez Peck
Hi Edwin. 

I wrote some details on how to install Pharo in CentOS for a client. I paste them here in case it may help you:

---------------------------


Installing Pharo in CentOS is not difficult. However, it does require some packages and dependencies. Pharo will only work with 32 bits libraries, therefore, we need to download them.

[edit]Get Pharo

You can get the Pharo from http://www.pharo-project.org/pharo-download. To install it you just need to uncompress it.

[edit]Installing 32 bits needed libraries

To install the minimal needed libraries, we can execute:

sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686

To test if the VM works, just execute the following with a demo.image:

./pharo xxx.image

And there shouldn't be any error in the console.

[edit]Installing OpenSSL

If we plan to use Zodiac or SSL we have to install openSSL 32 bits libraries. To do that:

sudo yum install openssl098e.i686 openssl.i686
sudo cp /usr/lib/libssl.so.0.9.8e /usr/lib/libssl.so.0.9.8

Notice the second line is because otherwise Pharo fails to link to /usr/lib/libssl.so.0.9.8. To test if the link is correct, do:

ldd /opt/pharo/pharoVM/libSqueakSSL.so

And you should see something like:

libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00291000)

Otherwise, there is a problem in the link.

Now, all Zodiac and Zinc-Zodiac tests should be green.



On Mon, Aug 5, 2013 at 7:25 AM, Esteban Lorenzano <[hidden email]> wrote:
Hi,

That's a hard reference, sadly. 
You need to install 0.9.8 (32bits) in your distribution. I don't know how to do it in fedora, but on ubiuntu is usually plain simple... probably in fedora is also available with the apt-get equivalent tool :)

cheers, 
Esteban


On Aug 5, 2013, at 6:43 AM, edwin ancaer <[hidden email]> wrote:

Hello,

I'm running Pharo 2.0 on Fedora 18. I seem to have an issue with libssl.so which on my system is 1.0.1e, while libSquekSSL.so looks for version 0.9.8, as described here:Zodiac  mail sending in Pharo smalltalk .

Does anyone know how to solve this? Creating a symbolic link from 0.9.8 to 1.0.1e does not solve the problem

[edwin@ottopedi bin]# ldd libSqueakSSL.so
./libSqueakSSL.so: /lib/libssl.so.0.9.8: version `OPENSSL_0.9.8' not found (required by ./libSqueakSSL.so)
    linux-gate.so.1 =>  (0x001d2000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00161000)
    libc.so.6 => /lib/libc.so.6 (0x003a5000)
    libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00342000)
    libkrb5.so.3 => /lib/libkrb5.so.3 (0x001d3000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x009ec000)
    libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b76000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x002b3000)
    libcrypto.so.10 => /lib/libcrypto.so.10 (0x0068a000)
    libdl.so.2 => /lib/libdl.so.2 (0x0087a000)
    libz.so.1 => /lib/libz.so.1 (0x00300000)
    /lib/ld-linux.so.2 (0x4ed07000)
    libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00bcd000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c36000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0091d000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x002cc000)
    libselinux.so.1 => /lib/libselinux.so.1 (0x0097f000)
    libpcre.so.1 => /lib/libpcre.so.1 (0x0055b000)

 :

Is there anyone who managed to install the version 0.9.8 and 1.0.1e of the openssl rpm on the same machine? Or is nobidy on Fedora 18 using Pharo?

Thanks in advance,

Edwin Ancaer




--
Mariano
http://marianopeck.wordpress.com
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 2.0 on Fedora 18

Edwin Ancaer
Esteban, Mariano,

thanks for helping out. It's probably a lack of knowledge on my side, but until now, everything I tried failed.

There seems to ben no package openssl098e.i686in the sources of Fedora 18, so I downmoaded it, and opened it with yumex. The answer was that there was nothing to do for libssl.

I tried to create a symbolic link to /opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8, after installing a package that contained the library in question, but to no avail. With ldd I found:

[edwin@ottopedi bin]$ ldd libSqueakSSL.so
./libSqueakSSL.so: /lib/libssl.so.0.9.8: no version information available (required by ./libSqueakSSL.so)
    linux-gate.so.1 =>  (0x00795000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x001e3000)
    libc.so.6 => /lib/libc.so.6 (0x0085c000)
    libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x0035d000)
    libdl.so.2 => /lib/libdl.so.2 (0x00b13000)
    /lib/ld-linux.so.2 (0x4ed07000)
    libz.so.1 => /lib/libz.so.1 (0x00c9c000)

I even tried to install from source, but I only managed to create libssl.a, a static library.
For now, I'll postpone the tests for the sending of emails with Pharo to a later date.

Thanks a lot,

E. Ancaer


2013/8/5 Mariano Martinez Peck <[hidden email]>
Hi Edwin. 

I wrote some details on how to install Pharo in CentOS for a client. I paste them here in case it may help you:

---------------------------


Installing Pharo in CentOS is not difficult. However, it does require some packages and dependencies. Pharo will only work with 32 bits libraries, therefore, we need to download them.

[edit]Get Pharo

You can get the Pharo from http://www.pharo-project.org/pharo-download. To install it you just need to uncompress it.

[edit]Installing 32 bits needed libraries

To install the minimal needed libraries, we can execute:

sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686

To test if the VM works, just execute the following with a demo.image:

./pharo xxx.image

And there shouldn't be any error in the console.

[edit]Installing OpenSSL

If we plan to use Zodiac or SSL we have to install openSSL 32 bits libraries. To do that:

sudo yum install openssl098e.i686 openssl.i686
sudo cp /usr/lib/libssl.so.0.9.8e /usr/lib/libssl.so.0.9.8

Notice the second line is because otherwise Pharo fails to link to /usr/lib/libssl.so.0.9.8. To test if the link is correct, do:

ldd /opt/pharo/pharoVM/libSqueakSSL.so

And you should see something like:

libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00291000)

Otherwise, there is a problem in the link.

Now, all Zodiac and Zinc-Zodiac tests should be green.



On Mon, Aug 5, 2013 at 7:25 AM, Esteban Lorenzano <[hidden email]> wrote:
Hi,

That's a hard reference, sadly. 
You need to install 0.9.8 (32bits) in your distribution. I don't know how to do it in fedora, but on ubiuntu is usually plain simple... probably in fedora is also available with the apt-get equivalent tool :)

cheers, 
Esteban


On Aug 5, 2013, at 6:43 AM, edwin ancaer <[hidden email]> wrote:

Hello,

I'm running Pharo 2.0 on Fedora 18. I seem to have an issue with libssl.so which on my system is 1.0.1e, while libSquekSSL.so looks for version 0.9.8, as described here:Zodiac  mail sending in Pharo smalltalk .

Does anyone know how to solve this? Creating a symbolic link from 0.9.8 to 1.0.1e does not solve the problem

[edwin@ottopedi bin]# ldd libSqueakSSL.so
./libSqueakSSL.so: /lib/libssl.so.0.9.8: version `OPENSSL_0.9.8' not found (required by ./libSqueakSSL.so)
    linux-gate.so.1 =>  (0x001d2000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00161000)
    libc.so.6 => /lib/libc.so.6 (0x003a5000)
    libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00342000)
    libkrb5.so.3 => /lib/libkrb5.so.3 (0x001d3000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x009ec000)
    libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b76000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x002b3000)
    libcrypto.so.10 => /lib/libcrypto.so.10 (0x0068a000)
    libdl.so.2 => /lib/libdl.so.2 (0x0087a000)
    libz.so.1 => /lib/libz.so.1 (0x00300000)
    /lib/ld-linux.so.2 (0x4ed07000)
    libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00bcd000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c36000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0091d000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x002cc000)
    libselinux.so.1 => /lib/libselinux.so.1 (0x0097f000)
    libpcre.so.1 => /lib/libpcre.so.1 (0x0055b000)

 :

Is there anyone who managed to install the version 0.9.8 and 1.0.1e of the openssl rpm on the same machine? Or is nobidy on Fedora 18 using Pharo?

Thanks in advance,

Edwin Ancaer




--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 2.0 on Fedora 18

Stéphane Ducasse
hi edwin

we are sad not to be able to help more. But we are really busy (even more than that).

Stef


On Aug 5, 2013, at 10:19 PM, edwin ancaer <[hidden email]> wrote:

Esteban, Mariano,

thanks for helping out. It's probably a lack of knowledge on my side, but until now, everything I tried failed.

There seems to ben no package openssl098e.i686in the sources of Fedora 18, so I downmoaded it, and opened it with yumex. The answer was that there was nothing to do for libssl.

I tried to create a symbolic link to /opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8, after installing a package that contained the library in question, but to no avail. With ldd I found:

[edwin@ottopedi bin]$ ldd libSqueakSSL.so
./libSqueakSSL.so: /lib/libssl.so.0.9.8: no version information available (required by ./libSqueakSSL.so)
    linux-gate.so.1 =>  (0x00795000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x001e3000)
    libc.so.6 => /lib/libc.so.6 (0x0085c000)
    libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x0035d000)
    libdl.so.2 => /lib/libdl.so.2 (0x00b13000)
    /lib/ld-linux.so.2 (0x4ed07000)
    libz.so.1 => /lib/libz.so.1 (0x00c9c000)

I even tried to install from source, but I only managed to create libssl.a, a static library.
For now, I'll postpone the tests for the sending of emails with Pharo to a later date.

Thanks a lot,

E. Ancaer


2013/8/5 Mariano Martinez Peck <[hidden email]>
Hi Edwin. 

I wrote some details on how to install Pharo in CentOS for a client. I paste them here in case it may help you:

---------------------------


Installing Pharo in CentOS is not difficult. However, it does require some packages and dependencies. Pharo will only work with 32 bits libraries, therefore, we need to download them.

[edit]Get Pharo

You can get the Pharo from http://www.pharo-project.org/pharo-download. To install it you just need to uncompress it.

[edit]Installing 32 bits needed libraries

To install the minimal needed libraries, we can execute:
sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686
To test if the VM works, just execute the following with a demo.image:
./pharo xxx.image
And there shouldn't be any error in the console.

[edit]Installing OpenSSL

If we plan to use Zodiac or SSL we have to install openSSL 32 bits libraries. To do that:
sudo yum install openssl098e.i686 openssl.i686
sudo cp /usr/lib/libssl.so.0.9.8e /usr/lib/libssl.so.0.9.8
Notice the second line is because otherwise Pharo fails to link to /usr/lib/libssl.so.0.9.8. To test if the link is correct, do:
ldd /opt/pharo/pharoVM/libSqueakSSL.so
And you should see something like:
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00291000)
Otherwise, there is a problem in the link.
Now, all Zodiac and Zinc-Zodiac tests should be green.


On Mon, Aug 5, 2013 at 7:25 AM, Esteban Lorenzano <[hidden email]> wrote:
Hi,

That's a hard reference, sadly. 
You need to install 0.9.8 (32bits) in your distribution. I don't know how to do it in fedora, but on ubiuntu is usually plain simple... probably in fedora is also available with the apt-get equivalent tool :)

cheers, 
Esteban


On Aug 5, 2013, at 6:43 AM, edwin ancaer <[hidden email]> wrote:

Hello,

I'm running Pharo 2.0 on Fedora 18. I seem to have an issue with libssl.so which on my system is 1.0.1e, while libSquekSSL.so looks for version 0.9.8, as described here:Zodiac  mail sending in Pharo smalltalk .

Does anyone know how to solve this? Creating a symbolic link from 0.9.8 to 1.0.1e does not solve the problem

[edwin@ottopedi bin]# ldd libSqueakSSL.so
./libSqueakSSL.so: /lib/libssl.so.0.9.8: version `OPENSSL_0.9.8' not found (required by ./libSqueakSSL.so)
    linux-gate.so.1 =>  (0x001d2000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00161000)
    libc.so.6 => /lib/libc.so.6 (0x003a5000)
    libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00342000)
    libkrb5.so.3 => /lib/libkrb5.so.3 (0x001d3000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x009ec000)
    libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b76000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x002b3000)
    libcrypto.so.10 => /lib/libcrypto.so.10 (0x0068a000)
    libdl.so.2 => /lib/libdl.so.2 (0x0087a000)
    libz.so.1 => /lib/libz.so.1 (0x00300000)
    /lib/ld-linux.so.2 (0x4ed07000)
    libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00bcd000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c36000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0091d000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x002cc000)
    libselinux.so.1 => /lib/libselinux.so.1 (0x0097f000)
    libpcre.so.1 => /lib/libpcre.so.1 (0x0055b000)

 :

Is there anyone who managed to install the version 0.9.8 and 1.0.1e of the openssl rpm on the same machine? Or is nobidy on Fedora 18 using Pharo?

Thanks in advance,

Edwin Ancaer




--
Mariano
http://marianopeck.wordpress.com