Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

libssl.so & libcrypto.so self bundling behaviour in Debian 11

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
Malathi
Posts: 6
Joined: 2021-12-15 11:14

libssl.so & libcrypto.so self bundling behaviour in Debian 11

#1 Post by Malathi »

We have tried Redis binary compilation in Debian 11 with OpenSSL 1.1.1k (default) had the dependency with libssl.so.10, libcrypto.so.10.
Redis Version - 6.2.5
GCC - 4.9.2

Debian 11 (with OpenSSL 1.1.1k-1)
File Size - redis-cli (4.8 MB), redis-server (9.1 MB)
Shared Object Dependencies (ldd redis-server)
  • linux-vdso.so.1 (0x00007ffdd3913000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8627286000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8627280000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8627275000)
    libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f86271e2000)
    libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f8626eee000)

    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8626eca000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8626d05000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f86273d5000)
Whereas, the redis binary compiled in CentOS 7.6 (with OpenSSL 1.1.1k) didn't have any dependency with libssl & libcrypto
1.1.1k - No dependency (w.r.t libssl & libcrypto)
  • linux-vdso.so.1 => (0x00007fff033d6000)
    libm.so.6 => /lib64/libm.so.6 (0x00007ff010be9000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007ff0109e5000)
    librt.so.1 => /lib64/librt.so.1 (0x00007ff0107dd000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff0105c1000)
    libc.so.6 => /lib64/libc.so.6 (0x00007ff0101f4000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ff010eeb000)
Is there any reason for libssl.so & libcrypto.so self bundling behaviour between CentOS 7.6 (with OpenSSL 1.1.1k) and Debian 11 (with OpenSSL 1.1.1k-1)

Thanks in advance.

lindi
Debian Developer
Debian Developer
Posts: 412
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 77 times

Re: libssl.so & libcrypto.so self bundling behaviour in Debian 11

#2 Post by lindi »

So you compiled redis manually on Debian and CentOS and are wondering why you get different results? Can you post the build logs from both cases? Maybe the build system autodetects if openssl headers are present and includes support only if they are?

Post Reply