Skip to content

Force use system openssl

Acid Xeon requested to merge (removed):xeonacid-main-patch-80582 into main

Current openssl-sys crate would build a vendored openssl. Set OPENSSL_NO_VENDOR env variable to force use the system one.

Before:

$ ldd /usr/bin/rye
        linux-vdso.so.1 (0x00007ffe1cd38000)
        libz.so.1 => /usr/lib/libz.so.1 (0x000078e439c05000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x000078e439bf2000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x000078e439bcd000)
        libm.so.6 => /usr/lib/libm.so.6 (0x000078e438914000)
        libc.so.6 => /usr/lib/libc.so.6 (0x000078e438732000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000078e439c3f000)

After:

$  ldd usr/bin/rye
        linux-vdso.so.1 (0x00007ffd02de0000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x0000709fb8d20000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x0000709fb8600000)
        libz.so.1 => /usr/lib/libz.so.1 (0x0000709fb9b67000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x0000709fb9b54000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000709fb9b2f000)
        libm.so.6 => /usr/lib/libm.so.6 (0x0000709fb8c34000)
        libc.so.6 => /usr/lib/libc.so.6 (0x0000709fb841e000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x0000709fb9ba1000)

This worth a rebuild I think. :)

Edited by Acid Xeon

Merge request reports

Loading