[arch-dev-public] openssl 1.0 rebuild

Allan McRae allan at archlinux.org
Thu Apr 1 05:52:17 CEST 2010


On 01/04/10 13:47, Dan McGee wrote:
> On Wed, Mar 31, 2010 at 10:35 PM, Pierre Schmitz<pierre at archlinux.de>  wrote:
>> On Wed, 31 Mar 2010 22:15:48 -0500, Dan McGee<dpmcgee at gmail.com>  wrote:
>>> I'm confused- it shows it still looking for openssl 0.9.8:
>>>
>>> dmcgee at dublin /tmp/pacman-extracted
>>> $ ldd usr/bin/pacman
>> ..
>>>          libssl.so.0.9.8 =>  /usr/lib/libssl.so.0.9.8 (0xb74cf000)
>>>          libcrypto.so.0.9.8 =>  /usr/lib/libcrypto.so.0.9.8 (0xb737c000)
>> ..
>>
>> You have probably an old version of libarchive/libfetch installed. Don't
>> trust ldd here. Within my updated chroot it looks fine:
>>
>> ldd /usr/bin/pacman
>>         linux-vdso.so.1 =>    (0x00007fffc47c7000)
>>         libalpm.so.4 =>  /usr/lib/libalpm.so.4 (0x00007f74abefc000)
>>         libc.so.6 =>  /lib/libc.so.6 (0x00007f74abba6000)
>>         libfetch.so =>  /usr/lib/libfetch.so (0x00007f74ab996000)
>>         libarchive.so.2 =>  /usr/lib/libarchive.so.2 (0x00007f74ab754000)
>>         /lib/ld-linux-x86-64.so.2 (0x00007f74ac11d000)
>>         libssl.so.1.0.0 =>  /usr/lib/libssl.so.1.0.0 (0x00007f74ab4f9000)
>>         libcrypto.so.1.0.0 =>  /usr/lib/libcrypto.so.1.0.0
>> (0x00007f74ab143000)
>>         libacl.so.1 =>  /lib/libacl.so.1 (0x00007f74aaf3c000)
>>         libattr.so.1 =>  /lib/libattr.so.1 (0x00007f74aad38000)
>>         libexpat.so.1 =>  /usr/lib/libexpat.so.1 (0x00007f74aab10000)
>>         liblzma.so.0 =>  /usr/lib/liblzma.so.0 (0x00007f74aa8f0000)
>>         libbz2.so.1.0 =>  /lib/libbz2.so.1.0 (0x00007f74aa6e0000)
>>         libz.so.1 =>  /usr/lib/libz.so.1 (0x00007f74aa4c8000)
>>         libdl.so.2 =>  /lib/libdl.so.2 (0x00007f74aa2c4000)
>>         libpthread.so.0 =>  /lib/libpthread.so.0 (0x00007f74aa0a8000)
>>
>> There are also no *.0.9.8 files in my build chroot; so it's quite
>> impossible it linked agaisnt them. :-)
>
> So in that case, this matters not at all because pacman doesn't
> directly link against those libraries (at least your new version).
> Considering I did that ldd on my i686 machine that knows nothing at
> all about the rebuild and we didn't have any missing libraries
> detected, we are fine.

Hmm...

readelf -d /usr/bin/pacman

....
  0x00000001 (NEEDED)                     Shared library: 
[libcrypto.so.0.9.8]
....

 > pacman -Qo /usr/lib/libcrypto.so.0.9.8
/usr/lib/libcrypto.so.0.9.8 is owned by openssl 0.9.8n-1

That is on my i686 machine without doing any upgrades yet.

So the versioned dep on pacman -> libarchive/libfetch -> openssl is 
really needed.  The needed rebuilds are now in [testing].

Allan



More information about the arch-dev-public mailing list