I am no Linux expert and it has been a long time since I did anything with
RedHat, but it seems there is a problem with having both 32 and 64 bit versions
of the same library. On my machine,
$ uname -a
Linux ip-10-48-234-254 3.2.0-25-virtual #40-Ubuntu SMP Wed May 23 23:51:32 UTC
2012 i686 i686 i386 GNU/Linux
which is a proper 64 bit install, I once did
apt-get install ia32-libs
and now it looks like the normal libs are 64 bit and the 32 bit are the
exception or add-on:
$ ls /lib/i386-linux-gnu/libssl*
/lib/i386-linux-gnu/libssl.so.0.9.8 /lib/i386-linux-gnu/libssl.so.1.0.0
But all this probably won't help much…
BTW, the command to check linking dependencies is ldd
$ ldd bin/CogVM
linux-gate.so.1 => (0xb76e7000)
libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6
(0xb76b1000)
libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2
(0xb76ac000)
libpthread.so.0 =>
/lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb7691000)
libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6
(0xb74eb000)
/lib/ld-linux.so.2 (0xb76e8000)
ubuntu@ip-10-48-234-254:~/pharo2$ ldd bin/libSqueakSSL.so
linux-gate.so.1 => (0xb77bf000)
libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6
(0xb7783000)
libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2
(0xb777e000)
libpthread.so.0 =>
/lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb7763000)
libssl.so.0.9.8 => /lib/i386-linux-gnu/libssl.so.0.9.8 (0xb7714000)
libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6
(0xb756f000)
/lib/ld-linux.so.2 (0xb77c0000)
libcrypto.so.0.9.8 => /lib/i386-linux-gnu/libcrypto.so.0.9.8
(0xb73f6000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb73e0000)
I would expect these to give unresolved references on the jenkins machine.
On 18 Jul 2012, at 19:58, Marcus Denker wrote:
> On Jul 18, 2012, at 6:41 PM, Sven Van Caekenberghe wrote:
>
>> On 18 Jul 2012, at 17:49, Marcus Denker wrote:
>>
>>> On Jul 18, 2012, at 4:58 PM, Sven Van Caekenberghe wrote:
>>>
>>>> http://code.google.com/p/pharo/issues/detail?id=6364
>>>>
>>>> Who has access to the build server via command line and can have a look ?
>>>
>>> So we checked and installed the openssl package for 32 bit, updated the
>>> openssl package...
>>> but it still fails.
>>>
>>> We will continue to investigate.
>>>
>>> Marcus
>>
>> Is it an Ubuntu/Debian machine ? Did you do
>>
>> sudo apt-get install libssl0.9.8:i386
>>
>
> it is redhat (or how that is called these days). And something is strange:
>
> [root@pharo-build denker]# yum install openssl.i386
> Loaded plugins: downloadonly, fastestmirror, priorities, security
> Loading mirror speeds from cached hostfile
> 203 packages excluded due to repository priority protections
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package openssl.i386 0:0.9.8e-22.el5_8.4 set to be updated
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> ================================================================================
> Package Arch Version Repository Size
> ================================================================================
> Installing:
> openssl i386 0.9.8e-22.el5_8.4 updates 1.5 M
>
> Transaction Summary
> ================================================================================
> Install 1 Package(s)
> Upgrade 0 Package(s)
>
> Total size: 1.5 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running rpm_check_debug
> Running Transaction Test
> Finished Transaction Test
>
>
> Transaction Check Error:
> package openssl-0.9.8e-22.el5_8.4.i386 is already installed
> file /lib/.libcrypto.so.0.9.8e.hmac from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /lib/.libssl.so.0.9.8e.hmac from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /lib/libcrypto.so.0.9.8e from install of openssl-0.9.8e-22.el5_8.4.i386
> conflicts with file from package openssl-0.9.8e-22.el5_8.4.i686
> file /lib/libssl.so.0.9.8e from install of openssl-0.9.8e-22.el5_8.4.i386
> conflicts with file from package openssl-0.9.8e-22.el5_8.4.i686
> file /usr/bin/openssl from install of openssl-0.9.8e-22.el5_8.4.i386
> conflicts with file from package openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/lib4758cca.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/libaep.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/libatalla.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/libchil.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/libcswift.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/libnuron.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/libsureware.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686
> file /usr/lib/openssl/engines/libubsec.so from install of
> openssl-0.9.8e-22.el5_8.4.i386 conflicts with file from package
> openssl-0.9.8e-22.el5_8.4.i686