Gentoo Archives: gentoo-user-ru

From: Peter Volkov <pva@g.o>
To: gentoo-user-ru@l.g.o
Subject: Re: [gentoo-user-ru] Обновление openssl
Date: Sun, 21 Nov 2010 13:08:46
Message-Id: 1290331212.11068.93.camel@tablet
In Reply to: [gentoo-user-ru] Обновление openssl by Alexander Tiurin
1 В Птн, 19/11/2010 в 01:34 +0300, Alexander Tiurin пишет:
2 > Сегодня обновил. Удивило, что
3 >
4 >
5 > Old versions of installed libraries were detected on your
6 > system. In order to avoid breaking packages that depend on these old
7 > libs, the libraries are not being removed. You need to run
8 > revdep-rebuild in order to remove these old dependencies. If you do
9 > not have this helper program, simply emerge the 'gentoolkit'
10 > package.
11 > # revdep-rebuild --library
12 > libcrypto.so.0.9.8 # revdep-rebuild --library
13 > libssl.so.0.9.8
14 >
15 > Once you've finished running revdep-rebuild, it should be safe to
16 > delete the old libraries. Here is a copy & paste for the lazy
17 > # rm '/usr/lib/libcrypto.so.0.9.8'
18 > # rm '/usr/lib/libssl.so.0.9.8'
19
20 > хотя у меня был dev-libs/openssl-1.0.0a-r3
21
22 Старые либы остались с давних времён. Пока вы не сделаете то, что
23 написано, rm ..., это сообщение будет повторяться. Вот как это сделано в
24 ебилде:
25
26 has_version ${CATEGORY}/${PN}:0.9.8 && return 0
27 preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
28
29 > Затем замечаю
30 >
31 > /etc/init.d/proftpd restart
32 > * Stopping ProFTPD ...
33 > * Starting ProFTPD ...
34 > - mod_tls/2.4.1: compiled using OpenSSL version 'OpenSSL 1.0.0a 1 Jun
35 > 2010' headers, but linked to OpenSSL version 'OpenSSL 1.0.0b 16 Nov
36 > 2010' libr [ ok ]
37
38 Это warning... ничего страшного, но может вы захотите пересобрать
39 proftpd.
40
41 > Присмотревшись получше, делаю
42 >
43 > revdep-rebuild --library /usr/lib64/libcrypto.so.1.0.0
44
45 Посмотрите ещё по лучше. У вас proftpd собрат относительно старых
46 хедеров openssl. Ничего страшного.
47
48 > Вопрос, так должно быть или руками пересобирать выхлоп equery d
49 > openssl ? И делать ли
50
51 Нет удалите старые либы (как и написано в сообщении) и на всякий случай
52 сделайте revdep-rebuild.
53
54 --
55 Peter.