Maybe I don't understand this, but I run the following:
export OPENSSL_STATIC=1
cargo build --release
ldd target/release/myapp
linux-vdso.so.1 => (0x00007ffeec755000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f2e91d78000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2e91b74000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f2e9172f000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2e91527000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2e9130a000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2e910f3000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2e90d2a000)
/lib64/ld-linux-x86-64.so.2 (0x00005628c64a4000)
That... doesn't seem right does it? There is a libssl.a in /usr/lib/x86_64-linux-gnu which I was expecting it to use.
Maybe I don't understand this, but I run the following:
That... doesn't seem right does it? There is a
libssl.ain/usr/lib/x86_64-linux-gnuwhich I was expecting it to use.