Compiling Staticaly linked OpenSSL for linux-x86_64
opened this issue · comments
Deleted user commented
Any one succeeded to make this usable at all?
I tried every option I can think of but it's not linking statically like with GregorR/musl-cross in ubuntu
CC="/usr/local/bin/x86_64-linux-musl-gcc -static" LD="/usr/local/bin/x86_64-linux-musl-ld -static" \
AR="/usr/local/bin/x86_64-linux-musl-ar" PERL="/usr/bin/perl" ./Configure no-shared \
no-async no-zlib no-zlib-dynamic linux-x86_64
/usr/local/bin/gmake
I get loads of :(.text+0x21c): undefined reference to at linking stage
Deleted user commented
never mind I had to also export ranlib binary
RANLIB="/usr/local/bin/x86_64-linux-musl-ranlib"