File: install-linkerwarnings.rst.txt

package info (click to toggle)
cyrus-imapd 3.10.0~beta1-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 86,332 kB
  • sloc: ansic: 284,810; perl: 135,824; javascript: 9,562; sh: 5,728; yacc: 2,565; cpp: 2,147; makefile: 2,133; lex: 662; xml: 621; awk: 303; python: 279; asm: 262
file content (29 lines) | stat: -rw-r--r-- 1,347 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.. _linker-warnings:

.. _openssl-versions:

OpenSSL Version Mismatches
--------------------------

Your system may have multiple versions of OpenSSL on it. it is possible that
some libraries which Cyrus can use might be linked against different versions of
the OpenSSL libraries, or that those may be different from the version which
Cyrus itself will use.

Major updates of OpenSSL are not always compatible with each other at the API
level. OpenSSL is used by many libraries and system components and not all of
those become compatible with the new version at the same time. Because of this
some Linux distributions choose to ship multiple OpenSSL versions and allow
components to use whichever version is appropriate.

If two different versions of the OpenSSL libraries linked into one program, it
results in program instability. To check if this is happening, look for warnings
from the linker like the following:

.. code-block:: bash

    /usr/bin/ld: warning: libssl.so.10, needed by /usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libclamav.so, may conflict with libssl.so.1.1
    /usr/bin/ld: warning: libcrypto.so.10, needed by /usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libclamav.so, may conflict with libcrypto.so.1.1

In this case, ClamAV is still linked against OpenSSL 1.0, while Cyrus is
building with OpenSSL 1.1.