[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wget 1.21 and Alpine Linix 3.12
From: |
Jeffrey Walton |
Subject: |
Wget 1.21 and Alpine Linix 3.12 |
Date: |
Thu, 14 Jan 2021 12:57:24 -0500 |
Hi Tim/Darshit,
Alpine Linx 3.12 has a BusyBox implementation of Wget. It is very
crippled, and it needs a real Wget installed.
I'm trying to build Wget 1.21/OpenSSL 1.0.2. Wget configure is failing at:
checking for MD5 in -lcrypto... no
configure: error: openssl development library not found for MD5
Failed to configure Wget
Bootstrap failed for Wget
Looking at the OpenSSL archive:
$ nm ~/.build-scripts/wget/lib/libcrypto.a | grep MD5 2>/dev/null
00000000000001f0 T MD5_Final
0000000000000340 T MD5_Init
00000000000001e0 T MD5_Transform
0000000000000000 T MD5_Update
0000000000000000 R MD5_version
0000000000000000 T MD5
It looks like MD5 is there.
According to config.log:
OPENSSL_CFLAGS=''
OPENSSL_LIBS='/home/jwalton/.build-scripts/wget/lib/libssl.a
/home/jwalton/.build-scripts/wget/lib/libcrypto.a'
But then the libs are not used in the conf test:
configure:30720: checking for MD5 in -lcrypto
configure:30743: gcc -o conftest -DNDEBUG
-I/home/jwalton/.build-scripts/wget/include conftest.c -lcrypto
-ldl >&5
/usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld:
cannot find -lcrypto
In addition, my LDFLAGS that include -L
/home/jwalton/.build-scripts/wget/lib are not used.
Jeff
- Wget 1.21 and Alpine Linix 3.12,
Jeffrey Walton <=